[ 
https://issues.apache.org/jira/browse/PIG-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julien Le Dem updated PIG-928:
------------------------------

    Attachment: pig-greek.tgz

I implemented the modifications mentioned in my previous comment:
https://issues.apache.org/jira/browse/PIG-928?focusedCommentId=12847986&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12847986

To run the example (assuming javac, jar and java are in your PATH):
    * tar xzvf pyg.tgz
    * add pig-0.6.0-core.jar to the lib folder
    * ./makejar.sh
    * ./runme.sh

The python implementation is now decoupled form the generic code.
the script code is passed through the classpath.
To implement other scripting languages, extend org.apache.pig.greek.ScriptEngine

I renamed this thing Pig-Greek ;)

> 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, pig-greek.tgz, pyg.tgz, scripting.tgz, 
> scripting.tgz
>
>
> 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