We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6210816 commit 9ac08b5Copy full SHA for 9ac08b5
1 file changed
datafusion/substrait/src/logical_plan/consumer/rel/join_rel.rs
@@ -116,11 +116,11 @@ fn split_eq_and_noneq_join_predicate_with_nulls_equality(
116
match (eq_keys.is_empty(), indistinct_keys.is_empty()) {
117
// Mixed: use eq_keys as equijoin keys, demote indistinct keys to filter
118
(false, false) => {
119
- for (l, r) in &indistinct_keys {
+ for (l, r) in indistinct_keys {
120
accum_filters.push(Expr::BinaryExpr(BinaryExpr {
121
- left: Box::new(Expr::Column(l.clone())),
+ left: Box::new(Expr::Column(l)),
122
op: Operator::IsNotDistinctFrom,
123
- right: Box::new(Expr::Column(r.clone())),
+ right: Box::new(Expr::Column(r)),
124
}));
125
}
126
(eq_keys, NullEquality::NullEqualsNothing)
0 commit comments