Rich-T-kid opened a new pull request, #27706: URL: https://github.com/apache/datafusion/pull/27706
## Which issue does this PR close? - N/A, independent change. ## Rationale for this change DataFusion currently materializes indexed operator output and then copies it again into a coalescer. The indexed coalescer API from #27595 can combine those steps. Stacked on #27595. ## What changes are included in this PR? `RepartitionExec` passes hash and range partition indices directly to its shared output coalescer. `HashJoinExec` does the same when the output is a projection of only the probe side. The existing grouped materialization remains unchanged for public `BatchPartitioner` callers and order-preserving repartition. Hash joins that combine both inputs, use nullable indices, or add a mark column retain the existing materialized path. ## What is the testing strategy for this PR? Existing Repartition and HashJoin tests cover output rows, projections, join types, limits, ordering, and spilling. | Benchmark | Result | | --- | --- | | `right_semi_d100_h10` | 2.0-4.5% faster across two balanced local runs | | `right_semi_d100_h100` | 1.5-3.2% faster across two balanced local runs | | TPC-H Q1 and Q3 (Repartition commit) | 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]
