Using *REGISTER myfunc.jar;* refer here: http://hadoop.apache.org/pig/docs/r0.5.0/piglatin_reference.html#REGISTER
On Wed, Mar 10, 2010 at 4:52 PM, Tamir Kamara <tamirkam...@gmail.com> wrote: > Hi, > > I have a function (eval) that needs to use an external jar. > In M/R world this can be accomplished by uploading the jar to the dfs and > using DistributedCache.addFileToClassPath. > How do I do the same (have the jar available for the udf) in pig? > > Thanks, > Tamir > -- Best Regards Jeff Zhang