Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to use 'foreach' operation in pig scripts?



How to use 'foreach' operation in pig scripts?..

Answer / Renu Kohli

The foreach operation is not directly supported in Pig. Instead, you can achieve similar functionality using User-Defined Functions (UDFs) or FOREACH statement in combination with a scripting language like Python, Java, or JavaScript embedded within the Pig script.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

Define the Use of Pig?

1 Answers  


State the limitations of Apache Pig?

1 Answers  


Pig Features ?

1 Answers  


why should we use 'group' keyword in pig scripts?

1 Answers  


What are complex data types in pig?

1 Answers  


Explain different execution modes available in Pig?

1 Answers  


Is Pig script case sensitive?

1 Answers  


What is the bag?

1 Answers  


How does pig work?

1 Answers  


Explain hive udf function?

1 Answers  


Bag in pig ?

1 Answers  


Explain the need for MapReduce while programming in Apache Pig?

1 Answers  


Categories