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.
This commit is contained in:
Dennis J. McWherter Jr
2014-08-22 20:51:36 -05:00
parent edaea7bede
commit 5d4a24dd4f
3 changed files with 48 additions and 3 deletions

View File

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