Rich-T-kid opened a new pull request, #27707: URL: https://github.com/apache/datafusion/pull/27707
## Which issue does this PR close? - N/A, independent change. ## Rationale for this change `RepartitionExec` currently materializes partitioned rows with `take_arrays` and then copies them again into its output coalescer. The indexed coalescer API from #27595 can combine those steps. Stacked on #27595. ## What changes are included in this PR? Hash and range partitioning pass their grouped indices directly to the shared output coalescer. Public `BatchPartitioner` callers retain the existing grouped `take`, and order-preserving repartition still materializes before sending. ## What is the testing strategy for this PR? Existing Repartition tests cover hash, range, round-robin, ordering, spilling, and output coalescing. | Benchmark | Result | | --- | --- | | TPC-H Q1 | No material change, within 0.4% | | TPC-H Q3 | No material change, within 0.5% | ## Are there any user-facing changes? No. -- 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]
