The Piggy Bank is a place for Pig users to share their functions. The functions are contributed “as-is”. If you find a bug or if you feel a function is missing, take the time to fix it or write it yourself and contribute the changes.
To build a jar file that contains all available user defined functions (UDFs), please follow the steps:
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
You should now see a piggybank.jar file in that directory.