andygrove commented on issue #25118: URL: https://github.com/apache/datafusion/issues/25118#issuecomment-7168715691
Update: item 2 is largely covered by #26357, which added `DistinctArrayAggGroupsAccumulator`. Its `merge_batch` encodes the whole state batch at once, so the per-row merge only remains on the ungrouped `Accumulator` path, where it matters much less. Item 1 is still open: `ArrayAggGroupsAccumulator::merge_batch` still records one `(group, pos)` entry per list element and gathers with `interleave`, which is the low-cardinality slowdown described above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
