hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Le Dem (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-928) UDFs in scripting languages
Date Thu, 29 Apr 2010 01:04:51 GMT

     [ 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.


Mime
View raw message