Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - How do I flatten the first item in a bag after a group?


Copy link to this message
-
How do I flatten the first item in a bag after a group?
Chan, Tim 2012-02-10, 22:28


x_grp = group x by $18;

How do I output the first tuple in the bag generated by the group?