crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-501) Object reuse issue in combineValues(Aggregator)
Date Mon, 23 Feb 2015 20:12:12 GMT


Josh Wills commented on CRUNCH-501:

Ack, this one looks tricky. [~gabriel.reid], I could use some advice here: how do we inject
the PType so can we detach it inside of the Aggregator in a way that doesn't horribly break
backwards compatibility? Or should we do it in the CrunchCombiner/CrunchReducer in some way

> Object reuse issue in combineValues(Aggregator)
> -----------------------------------------------
>                 Key: CRUNCH-501
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Brandon Davis
> 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

View raw message