You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/01/08 16:46:21 UTC

[I] Optimize repartitioning logic in ShuffleWriterExec using interleave_record_batch [datafusion-comet]

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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Optimize repartitioning logic in ShuffleWriterExec using interleave_record_batch [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove closed issue #1235: Optimize repartitioning logic in ShuffleWriterExec using interleave_record_batch
URL: https://github.com/apache/datafusion-comet/issues/1235


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Optimize repartitioning logic in ShuffleWriterExec using interleave_record_batch [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #1235:
URL: https://github.com/apache/datafusion-comet/issues/1235#issuecomment-2578168997

   Related: https://github.com/apache/arrow-rs/issues/6692


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org