This topic contains 0 replies, has 1 voice, and was last updated by Pritesh 2 years, 11 months ago.
A = LOAD ‘/wordcount’ AS (line:chararray); B = FOREACH A GENERATE FLATTEN(TOKENIZE(line)) as word; C = GROUP B BY word; count = FOREACH C GENERATE group, COUNT(B); DUMP count;
Mail (will not be published) (required):
Your Name (required)
Your Email (required)
Enter the destination URL
Or link to existing content