andygrove opened a new issue, #1235: URL: https://github.com/apache/datafusion-comet/issues/1235
### What is the problem the feature request solves? In ShfufleWriterExec, we copy data from each input RecordBatch into array builders for each partition and once a partition reaches the specified row count, we create an output batch. Arrow provides an `interleave_record_batch` kernel that we could potentially use instead of the builder approach. https://docs.rs/arrow/latest/arrow/compute/fn.interleave_record_batch.html ### Describe the potential solution Let's POC this and see if it helps with performance. ### Additional context _No response_ -- 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]
