getChan commented on code in PR #15604: URL: https://github.com/apache/datafusion/pull/15604#discussion_r2030142110
########## datafusion/physical-optimizer/src/enforce_distribution.rs: ########## @@ -1258,19 +1259,14 @@ pub fn ensure_distribution( child = add_spm_on_top(child); } Distribution::HashPartitioned(exprs) => { - if add_roundrobin { - // Add round-robin repartitioning on top of the operator - // to increase parallelism. - child = add_roundrobin_on_top(child, target_partitions)?; - } Review Comment: Sorry for the fat diff, here are the major changes. -- 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