You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2015/02/24 04:37:11 UTC
[jira] [Updated] (CRUNCH-501) Object reuse issue in
combineValues(Aggregator)
[ https://issues.apache.org/jira/browse/CRUNCH-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Wills updated CRUNCH-501:
------------------------------
Attachment: CRUNCH-501.patch
This fixes the issue in a hopefully not-too-invasive way. The Avro integration test I had to fix was something that should have been fixed already.
> Object reuse issue in combineValues(Aggregator)
> -----------------------------------------------
>
> Key: CRUNCH-501
> URL: https://issues.apache.org/jira/browse/CRUNCH-501
> Project: Crunch
> Issue Type: Bug
> Reporter: Brandon Davis
> Attachments: CRUNCH-501.patch
>
>
> I'm trying to use combineValues on a PGroupedTable. I am using Aggregators.FIRST_N. If I have 20 keys in my PGroupedTable, then I only get 20 distinct values because the AggregatorCombineFn and FirstNAggregator don't detach the values from the incoming iterator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)