Uploaded image for project: 'Crunch'
  1. Crunch
  2. CRUNCH-501

Object reuse issue in combineValues(Aggregator)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. CRUNCH-501.patch
          6 kB
          Josh Wills

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brandon.davis Brandon Davis
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: