diff --git a/src/partition/src/utils/split.rs b/src/partition/src/utils/split.rs index 0c66d4badc..b667d17baf 100644 --- a/src/partition/src/utils/split.rs +++ b/src/partition/src/utils/split.rs @@ -118,7 +118,6 @@ fn is_empty_and_conjunction(expr: &PartitionExpr) -> bool { let CollectedConjunction { lowers, uppers, - equals: _, not_equals, passthrough: _, has_conflict: _, @@ -424,7 +423,6 @@ struct UpperBound { struct CollectedConjunction { lowers: BTreeMap, uppers: BTreeMap, - equals: BTreeMap, not_equals: BTreeMap>, passthrough: Vec, has_conflict: bool, @@ -459,7 +457,6 @@ fn simplify_and_bounds(expr: PartitionExpr) -> PartitionExpr { let CollectedConjunction { lowers, uppers, - equals: _, not_equals: _, passthrough, has_conflict: _, @@ -614,18 +611,13 @@ fn collect_conjunction_bounds(expr: &PartitionExpr) -> Option, - seen: &mut HashSet, - expr: PartitionExpr, -) { +fn push_unique_expr(out: &mut Vec, seen: &mut HashSet, expr: PartitionExpr) { let key = expr.to_string(); if seen.insert(key) { out.push(expr);