Debugging in pig
Tuesday, February 22, 2011
6:01 PM
Debugging in pig
DUMP <alias>; 
prints a relation's contents as text, after computing it. 
DESCRIBE <alias>; 
prints its schema (metadata). 
EXPLAIN <alias>;
prints an explanation of what Pig will do to get it. 
ILLUSTRATE <alias>;
prints a sample run with a subset of data.  