Files
linguist/samples/PigLatin/example.pig
Dennis J. McWherter Jr 5d4a24dd4f Added PigLatin language identification.
Updated languages.yml to associate *.pig files with PigLatin.
Added pig script example to samples/.
Updated the samples.json with to account for new sample.
2014-08-22 20:51:36 -05:00

11 lines
164 B
Pig

/**
* sample.pig
*/
REGISTER $SOME_JAR;
A = LOAD 'person' USING PigStorage() AS (name:chararray, age:int); -- Load person
B = FOREACH A generate name;
DUMP B;