Dear Wiki user, You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The following page has been changed by CorinneC: http://wiki.apache.org/pig/RunPig ------------------------------------------------------------------------------ * Script File: Place Pig commands in a script file and run the script. * Embedded Program: Embed Pig commands in a host language (Java) and run the program. + == Sample Code == + The sample code files you need to run the examples include: XXX.pig and XXX.java. + + The examples are based on these Pig commands, which extract all user IDs from the passwd file. + + {{{ + A = load 'passwd' using PigStorage(':'); + B = foreach A generate $0 as id; + dump B; + store B into âid.outâ; + }}} + + + + == Environment == +