[ https://issues.apache.org/jira/browse/PIG-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Coveney updated PIG-2066: ---------------------------------- Attachment: PIG-2066-3.patch Added Javadocs > 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 > > > 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