Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # dev - Custom Scripting Engine


Copy link to this message
-
Re: Custom Scripting Engine
Connor Woodson 2013-01-22, 00:47
Is there a way to get Pig to use your custom scripting engine without
having to modify ScriptingEngine.java and placing it in the enum? It looks
like it's possible with enums, but what about for embedding pig? (as in how
Pig can run python scripts).

- Connor
On Mon, Jan 21, 2013 at 1:59 PM, Daniel Dai <[EMAIL PROTECTED]> wrote:

> Pig currently support jython, jruby, javascript and groovy. If you
> need to write other scripting engine, extend ScriptEngine.
>
> Here are some references:
> 1.
> http://www.slideshare.net/daijy/pig-programming-is-more-fun-new-features-in-pig
> (pp 24, 25)
> 2. Groovy UDF: https://issues.apache.org/jira/browse/PIG-2763
> 3. JRuby UDF: https://issues.apache.org/jira/browse/PIG-2317
> 4. Javascript UDF: https://issues.apache.org/jira/browse/PIG-1794
>
> Thanks,
> Daniel
>
> On Fri, Jan 18, 2013 at 6:42 PM, Connor Woodson <[EMAIL PROTECTED]>
> wrote:
> > Is there any support for a custom scripting engine, to allow UDFs to be
> > written in a different language / embed pig in another language?
> >
> > - Connor
>