Dandandan commented on code in PR #15768: URL: https://github.com/apache/datafusion/pull/15768#discussion_r2063781770
########## datafusion/physical-plan/src/repartition/mod.rs: ########## @@ -260,33 +260,43 @@ impl BatchPartitioner { } => { let idx = *next_idx; *next_idx = (*next_idx + 1) % *num_partitions; - Box::new(std::iter::once(Ok((idx, batch)))) + assert_eq!(batches.len(), 1); Review Comment: For round robin, `batches.len` is always 1 (no buffering needed)/ -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org