Rachelint opened a new pull request, #23229: URL: https://github.com/apache/datafusion/pull/23229
## Which issue does this PR close? Part of hash aggregate repartition POC. ## Rationale for this change This POC prepares `GroupValues` for partition-aware partial aggregate output. The partial aggregate output path needs to know which input rows created new groups, and the hash for those rows, so it can later route newly-created group ids to target partitions without relying on a separate repartition + coalesce pipeline. ## What changes are included in this PR? - Extend `GroupValues::intern` to fill per-row hashes and optionally return the input rows that created new groups. - Keep hash calculation inside `GroupValues` implementations. - Wire reusable hash/new-group-row buffers through aggregate hash table and row-hash paths. - Update existing call sites and benchmarks to the new `intern` signature. ## Are these changes tested? Yes: - `cargo fmt --all` - `cargo clippy --all-targets --all-features -- -D warnings` - `cargo test -p datafusion-physical-plan group_values --lib` -- 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]
