Rich-T-kid opened a new pull request, #12556: URL: https://github.com/apache/arrow-rs/pull/12556
Closes #12555. Adds a borrowed variant of `BatchCoalescer::push_batch_with_indices`. The existing owned method delegates to it, so existing callers are unchanged. This lets high-fanout callers share one input batch instead of cloning every column `Arc` for each output. A DataFusion RepartitionExec prototype using the borrowed API produced these ClickBench Q32 results with 20-pair ABBA lockstep runs: | Output partitions | Candidate / baseline | Change | |---:|---:|---:| | 32 | 0.913 | 8.7% faster | | 128 | 0.857 | 14.3% faster | | 256 | 0.774 | 22.6% faster | | 512 | 0.709 | 29.1% faster | Tests: `cargo test -p arrow-select`; `cargo clippy -p arrow-select --all-targets --all-features -- -D warnings`. -- 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]
