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

Switch to Threaded View
Pig >> mail # user >> Group by Fetching top 100 from each group


Copy link to this message
-
Re: Group by Fetching top 100 from each group
http://pig.apache.org/docs/r0.10.0/func.html#topx
On Jun 29, 2012, at 5:19 PM, Benjamin Juhn wrote:

> Hi there,
>
> I'm trying to write a group by statement, only returning the top 100 records from each group.  Does pig support this?
>
> Thanks,
> Ben