Alan Gates updated PIG-928:

    Attachment: package.zip

Attaching some preliminary work by Kishore Gopalakrishna on this.  This code is 
a good start, but not ready for inclusion.  It needs to be cleaned up, put in 
our class structure, etc.  

Comments from Kishore:

It contains all the libraries required and also the GenericEval UDF and
GenericFilter UDF

I dint get a chance to get the Algebraic function working.

To test it, just unzip the package and run

rm -rf wordcount/output;
pig -x local wordcount.pig ---> to test eval
pig -x local wordcount_filter.pig ---> to test filter [sorry it should
be named filter.pig]
cat wordcount/output

> UDFs in scripting languages
> ---------------------------
>                 Key: PIG-928
>                 URL: https://issues.apache.org/jira/browse/PIG-928
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Alan Gates
>         Attachments: package.zip
> It should be possible to write UDFs in scripting languages such as python, 
> ruby, etc.  This frees users from needing to compile Java, generate a jar, 
> etc.  It also opens Pig to programmers who prefer scripting languages over 
> Java.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to