You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Mathias Herberts (Commented) (JIRA)" <ji...@apache.org> on 2011/11/14 14:42:52 UTC
[jira] [Commented] (PIG-1804) Alow Jython function to implement
Algebraic and/or Accumulator interfaces
[ https://issues.apache.org/jira/browse/PIG-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149624#comment-13149624 ]
Mathias Herberts commented on PIG-1804:
---------------------------------------
The Algebraic interface has three methods which return class names to be fed to FuncSpec.
This approach pretty much forbids dynamically created Algebraic UDFs using pure (with no compilation phase) scripting languages (not only Jython, but Groovy, JavaScript are also concerned).
What would the impact be if Algebraic was refactored so get{Initial,Intermed,Final} return class instances instead of class names?
> Alow Jython function to implement Algebraic and/or Accumulator interfaces
> -------------------------------------------------------------------------
>
> Key: PIG-1804
> URL: https://issues.apache.org/jira/browse/PIG-1804
> Project: Pig
> Issue Type: New Feature
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Julien Le Dem
>
> Currently Python UDFs can only be simple functions. For performance improvements in advanced use cases it should be possible to extend Algebraic and/or Accumulator interfaces
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira