pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Coveney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2066) Accumulators should be able to early-terminate
Date Thu, 10 May 2012 21:00:50 GMT

     [ 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-1.patch

Tests are fun, so I added some! Given the code in question, e2e tests seemed most appropriate.
> 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
> 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


View raw message