[ 
https://issues.apache.org/jira/browse/PIG-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913859#action_12913859
 ] 

Julien Le Dem commented on PIG-1479:
------------------------------------

Using the file extension requires a registration mechanism (or hard coded list) 
so if it is supported it would be nice to be able to provide the class name of 
the scripting implementation as well.
I would like to use my own implementation of the scripting engine (let's say 
javascript) by specifying the class name in the command line.
similar to the mecanism for UDFs inclusion:
http://wiki.apache.org/pig/UDFsUsingScriptingLanguages
{quote}
Register 'test.py' using org.apache.pig.scripting.jython.JythonScriptEngine as 
myfuncs;
{quote}

> 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
>            Assignee: Richard Ding
>             Fix For: 0.9.0
>
>         Attachments: PIG-1479.patch, PIG-1479_2.patch, pig-greek-test.tar, 
> pig-greek-test.tar, 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