From dc2f1cd7a52b8b851fa1d59c2fe8fc67224070bd Mon Sep 17 00:00:00 2001 From: Kumar Ujjawal Date: Thu, 22 Oct 2026 19:29:38 +0530 Subject: [PATCH] fix: restore all-features Clippy for DataFrame aggregate rewrites --- datafusion/core/src/dataframe/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/datafusion/core/src/dataframe/mod.rs b/datafusion/core/src/dataframe/mod.rs index d0738b98977f..bce0ab44f88c 100644 --- a/datafusion/core/src/dataframe/mod.rs +++ b/datafusion/core/src/dataframe/mod.rs @@ -298,6 +298,8 @@ fn alias_aggregate_exprs( ) -> Result<(Vec, HashMap)> { let exprs = normalize_cols(exprs, plan)?; let mut used = HashSet::new(); + // Arrow buffer memory accounting does not affect expression equality or hashing. + #[allow(clippy::allow_attributes, clippy::mutable_key_type)] let mut rewrite_map = HashMap::new(); let mut aliased = Vec::with_capacity(exprs.len()); for expr in exprs { @@ -318,6 +320,8 @@ fn alias_aggregate_exprs( } /// Replace aggregate subexpressions with columns produced by the Aggregate node. +// Arrow buffer memory accounting does not affect expression equality or hashing. +#[allow(clippy::allow_attributes, clippy::mutable_key_type)] fn rewrite_select_aggs( expr_list: Vec, input: &LogicalPlan,