Dandandan commented on code in PR #23257:
URL: https://github.com/apache/datafusion/pull/23257#discussion_r3501124631
##########
benchmarks/src/hj.rs:
##########
@@ -487,6 +533,20 @@ impl RunOpt {
);
benchmark_run.start_new_case(&case_name);
+ // For Q23 force Partitioned mode: zero the CollectLeft thresholds
+ // so the planner cannot prove the build side is small (as happens
+ // when the datasource provides no row-count stats).
+ if query.isolate_partitioned_join {
+ ctx.sql(
+ "SET
datafusion.optimizer.hash_join_single_partition_threshold = 0",
+ )
+ .await?;
+ ctx.sql(
+ "SET
datafusion.optimizer.hash_join_single_partition_threshold_rows = 0",
Review Comment:
Why?
--
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]