Skip to content

Commit

Permalink
Update datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
eejbyfeldt and alamb authored Oct 22, 2024
1 parent 7ac193f commit 876de7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ impl<'a, S: SimplifyInfo> TreeNodeRewriter for Simplifier<'a, S> {
op: Or,
right,
}) if is_op_with(And, &left, &right) => Transformed::yes(*right),
// Elliminate common factors in conjunctions e.g
// Eliminate common factors in conjunctions e.g
// (A AND B) OR (A AND C) -> A AND (B OR C)
Expr::BinaryExpr(BinaryExpr {
left,
Expand Down

0 comments on commit 876de7e

Please sign in to comment.