This topic contains 0 replies, has 1 voice, and was last updated by  Pritesh 3 years, 7 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #323

    Pritesh
    Participant

    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;

Viewing 1 post (of 1 total)

The forum ‘Hadoop Developer|Batch-04/06/2014’ is closed to new topics and replies.