wiedld commented on code in PR #15010: URL: https://github.com/apache/datafusion/pull/15010#discussion_r1981558731
########## datafusion/core/tests/physical_optimizer/enforce_distribution.rs: ########## @@ -665,8 +714,12 @@ fn multi_hash_joins() -> Result<()> { "DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet", ], }; - assert_optimized!(expected, top_join.clone(), true); - assert_optimized!(expected, top_join, false); + assert_optimized!( + expected, + top_join.clone(), + &TestConfig::new(DoFirst::Distribution) + ); Review Comment: I like this idea. I was already planning for the next followup PR to change the macro to a functional call. -- 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