You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2012/05/18 21:15:07 UTC
[jira] [Commented] (PIG-2066) Accumulators should be able to
early-terminate
[ https://issues.apache.org/jira/browse/PIG-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279098#comment-13279098 ]
Alan Gates commented on PIG-2066:
---------------------------------
+1, lgtm
> Accumulators should be able to early-terminate
> ----------------------------------------------
>
> Key: PIG-2066
> URL: https://issues.apache.org/jira/browse/PIG-2066
> Project: Pig
> Issue Type: New Feature
> Reporter: Dmitriy V. Ryaboy
> Assignee: Jonathan Coveney
> Fix For: 0.11, 0.10.1
>
> Attachments: PIG-2066-0.patch, PIG-2066-1.patch, PIG-2066-2.patch, PIG-2066-3.patch, PIG-2066-4.patch
>
>
> Accumulators are currently forced to process the whole bag; getValue() is called at the very end.
> Early termination is a handy feature to be able to use (for IsEmpty, for example).
> We can add this as a new interface extending Accumulator.
--
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