[
https://issues.apache.org/jira/browse/PIG-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Woody Anderson updated PIG-928:
-------------------------------
Attachment: scripting.tgz
unpack the file into a directory:
cd foo;
tar xvfz scripting.tgz
mkdata.sh
time pig -x local tokenize.pig
time pig -x local js_wc.pig
time pig -x local pjy_wc.pig
to do the last one, you'll have to build the Code.jar, do this (after
installing jython.jar in /tmp)
mkdir tmp
scripter --jars '/tmp/jython.jar:spig.jar:pjy.jar:pjs.jar' -c ./Code.jar -w
./tmp/ --javac javac -o pjy_wc.pig pjy_wc.pjy
> 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, 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.