You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2011/01/17 07:49:44 UTC

[jira] Commented: (PIG-1794) Javascript support for Pig embedding and UDFs in scripting languages

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

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

see review: https://reviews.apache.org/r/321/

> Javascript support for Pig embedding and UDFs in scripting languages
> --------------------------------------------------------------------
>
>                 Key: PIG-1794
>                 URL: https://issues.apache.org/jira/browse/PIG-1794
>             Project: Pig
>          Issue Type: New Feature
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>             Fix For: 0.9.0
>
>         Attachments: jsScripting.patch
>
>
> The attached patch proposes a javascript implementation for Pig embedding and UDFs in scripting languages.
> It is similar to the Jython implementation and uses Rhino provided in the JDK.
> some differences:
>  - output schema is provided by: <functionName>.outSchema="<schema>" as javascript does not have annotations or decorators but functions are first class objects
>  - tuples are converted to objects using the input schema (the other way around using the output schema)
> The attached patch is not final yet. In particular it lacks unit tests.
> See test/org/apache/pig/test/data/tc.js for the "transitive closure" example
> See the following JIRAs for more context:
> https://issues.apache.org/jira/browse/PIG-928
> https://issues.apache.org/jira/browse/PIG-1479

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.