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

Richard Ding updated PIG-1479:
------------------------------

    Attachment: PIG-1479.patch

Thanks Julien. I rebased the patch with the latest trunk and added an option 
(-greek) in the Main class.

Now one can run a "PIG-Greek" script with following command:

{code}
java -cp pig.jar:<jython jar>:<hadoop config dir> org.apache.pig.Main -g 
<pig-greek script>
{code}

or in local mode: 

{code}
java -cp pig.jar:<jython jar> org.apache.pig.Main -x local -g <pig-greek script>
{code}


> Embed Pig in scripting languages
> --------------------------------
>
>                 Key: PIG-1479
>                 URL: https://issues.apache.org/jira/browse/PIG-1479
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Julien Le Dem
>         Attachments: PIG-1479.patch, pig-greek.tgz
>
>
> It should be possible to embed Pig calls in a scripting language and let 
> functions defined in the same script available as UDFs.
> This is a spin off of https://issues.apache.org/jira/browse/PIG-928 which 
> lets users define UDFs in scripting languages.

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