Rupal Choudhary

Piggy bank and it’s applications

The Piggy Bank is a place for Pig users to share their functions. The functions are contributed “as-is”.

To build a jar file that contains all available user defined functions (UDFs),steps to be followed:

Create a directory for the Pig source code: mkdir pig
cd into that directory: cd pig
Checkout the Pig source code: svn checkout http://svn.apache.org/repos/asf/pig/trunk/ .
Build the project: ant
cd into the piggybank dir: cd contrib/piggybank/java
Build the piggybank: ant
We will now see a piggybank.jar file in that directory.