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


The difference between GROUP and COGROUP operators in Pig?



The difference between GROUP and COGROUP operators in Pig?..

Answer / Sudhanshu Shekhar

In Pig, the GROUP operator groups tuples based on a specified field or set of fields. The resulting output is a Bag for each group key, containing all the original tuples that belong to the respective group. On the other hand, COGROUP operates on multiple relations and groups them together using the same grouping expressions. It returns a relation where the bag of one data stream is associated with the bags of other data streams based on common grouping fields.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

How Pig differs from MapReduce?

1 Answers  


What is UDF?

1 Answers  


Explain about the execution plans of a pig script?<Br> or<br> differentiate between the logical and physical plan of an apache pig script?

1 Answers  


How do you run pig scripts on kerberos secured cluster?

1 Answers  


What is UDF in Pig?

1 Answers  


Explain plucktuple?

1 Answers  


How do you run the pig scripts in local mode?

1 Answers  


What do you understand by an inner bag and outer bag in Pig?

1 Answers  


What is the difference between store and dumps commands?

1 Answers  


What is Pig Latin?

1 Answers  


How do you handle compression in pig?

1 Answers  


How should 'load' keyword is useful in pig scripts?

1 Answers  


Categories