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...


What is the use of foreach operation in Pig scripts?



What is the use of foreach operation in Pig scripts?..

Answer / Nidhish Paty Sahay

The FOREACH operation in Pig is used to iterate over each row or field of a relation and perform an action on it. It can be used for transforming data, applying user-defined functions (UDFs), or generating new relations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

What is the function of UNION and SPLIT operators? Give examples?

0 Answers  


What relational operators can we use that are related to combining and splitting in Pig language?

1 Answers  


State the usage of 'filters', 'group' , 'orderBy', 'distinct' keywords in pig scripts?

1 Answers  


What is a MapFile?

1 Answers  


What are the various diagnostic operators available in Apache Pig?

1 Answers  


What is Grunt shell?

1 Answers  


How to write 'foreach' statement for bag datatype in pig scripts?

1 Answers  


How to write 'foreach' statement for tuple datatype in pig scripts?

1 Answers  


What is the difference between Apache Pig and Hive?

1 Answers  


What do you know about the case sensitivity of apache pig?

1 Answers  


How can we see only top 15 records from the student.txt out of100 records in the HDFS directory?

1 Answers  


What is the difference between logical and physical plans?

1 Answers  


Categories