Skip to content

Commit 126109f

Browse files
committed
bench: disable final bucketing for partial policy baseline
1 parent cf6819d commit 126109f

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
@@ -819,11 +819,8 @@ impl FinalHashAggregateStream {
819819

820820
let group_values_soft_limit = agg.limit_options().map(|config| config.limit());
821821

822-
let bucket_threshold = context
823-
.session_config()
824-
.options()
825-
.execution
826-
.hash_aggregate_bucket_threshold;
822+
// Benchmark ablation: disable Final bucketing, preserving Partial policy.
823+
let bucket_threshold = 0;
827824
// A soft limit stops reading input early, which bucketing cannot do.
828825
let bucketing = (bucket_threshold > 0
829826
&& group_values_soft_limit.is_none()

0 commit comments

Comments
 (0)