[ https://issues.apache.org/jira/browse/PIG-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997995#comment-12997995 ]
Richard Ding commented on PIG-1794: ----------------------------------- Output of test-patch: {code} [exec] -1 overall. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 10 new or modified tests. [exec] [exec] -1 javadoc. The javadoc tool appears to have generated 1 warning messages. [exec] [exec] -1 javac. The applied patch generated 940 javac compiler warnings (more than the trunk's current 939 warnings). [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] [exec] -1 release audit. The applied patch generated 523 release audit warnings (more than the trunk's current 521 warnings). [exec] {code} > 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-2.patch, jsScripting-3.patch, > 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. - For more information on JIRA, see: http://www.atlassian.com/software/jira