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 2008/01/10 20:18:37 UTC

[Pig Wiki] Update of "PigFunctions" by OlgaN

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 OlgaN:
http://wiki.apache.org/pig/PigFunctions

------------------------------------------------------------------------------
  You can use your functions following the steps below:
  
     * Put all the compiled files used by your function together into a jar file
-    * Tell Pig about that jar by the `register <udfJar>` command before using the function. (If you are using PigLatin in embedded mode, call `PigServer.registerJar()`).
+    * Tell Pig about that jar by the `register <udfJar>` command before using the function. To register a UDF jar, you can either specify a full path to the jar file or you can place the jar file in your classpath and pig will find it there. (If you are using PigLatin in embedded mode, call `PigServer.registerJar()`).
     * Then use your function, as you would use a builtin! Its that simple.
  
  Example: