You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2011/02/23 20:39:13 UTC
[Pig Wiki] Update of "PiggyBank" by DanBrickley
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The "PiggyBank" page has been changed by DanBrickley.
The comment on this change is: explicit link to sources (so people can find a list of functions), and a bit more explanation. .
http://wiki.apache.org/pig/PiggyBank?action=diff&rev1=15&rev2=16
--------------------------------------------------
= Piggy Bank - User Defined Pig Functions =
- This 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.
+ 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.
+
+ Shared code is in the [[http://svn.apache.org/viewvc/pig/trunk/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/|Apache Pig SVN repo]].
<<Anchor(Using_Functions)>>
== Using Functions ==
- To see how to use your own functions in a pig script, please, see the [[http://pig.apache.org/docs/r0.7.0/udf.html|Pig Latin Reference Manual]]. Note that only JAVA functions are supported at this time.
+ To see how to use your own functions in a pig script, please, see the [[http://pig.apache.org/docs/r0.7.0/udf.html|Pig Latin Reference Manual]]. Note that only JAVA functions are supported at this time.
+
+ In brief, you either ''DEFINE'' a function to give it a short name, or else call it with full package name as shown below.
The functions are currently distributed in source form. Users are required to checkout the code and build the package themselves. No binary distributions or nightly builds are available at this time.