warrenzhu25 commented on issue #7269: URL: https://github.com/apache/datafusion-comet/issues/7269#issuecomment-7325738356
I'd like to take this one (continuing from #7787 / #7809 on the JVM shuffle side). Plan: 1. `partitioned_batch_iterator.rs`: factor a retry helper around `interleave_record_batch` and `concat_batches` (`RunIterator`) that splits the chunk in half on `OffsetOverflowError` and emits smaller batches in order. 2. `buf_batch_writer.rs`: flush the `BatchCoalescer` before pushing a batch that would push buffered string/binary/list bytes over a budget. 3. Block size (`shuffle_block_writer.rs` / writers): when an encoded block exceeds `i32::MAX` (including the single-partition path), split the batch in half and write multiple blocks instead of failing. 4. Unit tests for each (injected `OffsetOverflowError` retry helper, byte-budget flush, oversized-block split) plus an end-to-end repartition test with large binary values. -- 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]
