Dandandan commented on code in PR #4714: URL: https://github.com/apache/arrow-datafusion/pull/4714#discussion_r1056096585
########## datafusion/core/src/physical_optimizer/repartition.rs: ########## @@ -546,12 +538,12 @@ mod tests { } #[test] - fn repartition_ignores_sort_preserving_merge() -> Result<()> { + fn repartition_with_preserving_merge() -> Result<()> { let plan = sort_preserving_merge_exec(parquet_exec()); let expected = &[ "SortPreservingMergeExec: [c1@0 ASC]", - // Expect no repartition of SortPreservingMergeExec + "RepartitionExec: partitioning=RoundRobinBatch(10)", Review Comment: This seems worse than before? I think round robin should not be added before merge (at least currently, as we don't support parallel sort very well) as it will increase the work 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...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org