Skip to content

Commit 2d8d19a

Browse files
committed
chore: remove unrelated optimizer clippy allowances
1 parent cd495af commit 2d8d19a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎datafusion/optimizer/src/push_down_filter.rs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,14 +1175,10 @@ impl OptimizerRule for PushDownFilter {
11751175
// multiple window functions, each with potentially different partition keys.
11761176
// Therefore, we need to ensure that any potential partition key returned is used in
11771177
// ALL window functions. Otherwise, filters cannot be pushed by through that column.
1178-
// Memory accounting inside Expr does not affect hashing or equality.
1179-
#[allow(clippy::allow_attributes, clippy::mutable_key_type)]
11801178
fn extract_partition_keys(func: &WindowFunction) -> HashSet<&Expr> {
11811179
func.params.partition_by.iter().collect()
11821180
}
11831181

1184-
// Memory accounting inside Expr does not affect hashing or equality.
1185-
#[allow(clippy::allow_attributes, clippy::mutable_key_type)]
11861182
let potential_partition_keys = window
11871183
.window_expr
11881184
.iter()
@@ -1682,8 +1678,6 @@ fn with_filters(predicates: Vec<Expr>, plan: LogicalPlan) -> LogicalPlan {
16821678
///
16831679
/// A predicate containing a subquery is never pushed: what the subquery reads is
16841680
/// not visible from the expression tree.
1685-
// Memory accounting inside Expr does not affect hashing or equality.
1686-
#[allow(clippy::allow_attributes, clippy::mutable_key_type)]
16871681
fn reads_only_partition_keys(
16881682
expr: &Expr,
16891683
partition_keys: &HashSet<&Expr>,

0 commit comments

Comments
 (0)