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
  • #324

    Pritesh
    Participant

    A = LOAD ‘/patent’ USING PigStorage(‘ ‘) AS (patent:int,subpatent:float);
    B = GROUP A BY patent;
    C = FOREACH B GENERATE group, COUNT(A);
    DUMP C;

Viewing 1 post (of 1 total)

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