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

Switch to Threaded View
Pig >> mail # user >> PIG Script to aggregate data while grouping


Copy link to this message
-
Re: PIG Script to aggregate data while grouping
You need something like this ?

I = Group H by (word,date);
J = FOREACH I generate group,COUNT($1);
dump J;

Regards
Prav

On Thu, Feb 20, 2014 at 10:49 AM, Sai Krishna Kalyan (GSS BLR) <
[EMAIL PROTECTED]> wrote: