Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9679

[Rust] [DataFusion] HashAggregate walks map many times building final batch

    XMLWordPrintableJSON

Details

    Description

      The current HashAggregate implementation iterates over the final hash map once for each grouping expression and once for each aggregate expression. This is inefficient and possibly dangerous depending on the ordering gaurantees made by the hash map implementation.

      Attachments

        Issue Links

          Activity

            People

              andygrove Andy Grove
              andygrove Andy Grove
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m