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