Skip to content

Commit 70ac2ee

Browse files
committed
bench: isolate partial working-set optimization without final buckets
1 parent efd384f commit 70ac2ee

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎datafusion/physical-plan/src/aggregates/hash_stream.rs‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -739,11 +739,8 @@ impl FinalHashAggregateStream {
739739

740740
let group_values_soft_limit = agg.limit_options().map(|config| config.limit());
741741

742-
let bucket_threshold = context
743-
.session_config()
744-
.options()
745-
.execution
746-
.hash_aggregate_bucket_threshold;
742+
// Benchmark ablation: disable Final bucketing, preserving Partial policy.
743+
let bucket_threshold = 0;
747744
// A soft limit stops reading input early, which bucketing cannot do.
748745
let bucketing = (bucket_threshold > 0
749746
&& group_values_soft_limit.is_none()

0 commit comments

Comments
 (0)