This topic contains 0 replies, has 1 voice, and was last updated by Pritesh 2 years, 11 months ago.
A = load ‘/Temprature’ USING PigStorage(‘ ‘) AS(year:int, temp:int); B = GROUP A BY year; C = FOREACH B GENERATE group, MAX(A.temp); DUMP C;
Mail (will not be published) (required):
Your Name (required)
Your Email (required)
Enter the destination URL
Or link to existing content