waynexia commented on code in PR #8971:
URL: https://github.com/apache/arrow-datafusion/pull/8971#discussion_r1475468146
##########
datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs:
##########
@@ -3305,6 +3305,12 @@ mod tests {
);
assert_eq!(simplify(expr.clone()), lit(true));
+ // 3.5 c1 NOT IN (1, 2, 3, 4) OR c1 NOT IN (4, 5, 6, 7) -> c1 != 4 (4
overlaps)
Review Comment:
💯 This case shocks me (again) on how powerful this rule is
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]