morrySnow commented on code in PR #29164:
URL: https://github.com/apache/doris/pull/29164#discussion_r1437598860
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/OneRangePartitionEvaluator.java:
##########
@@ -458,7 +458,7 @@ public EvaluateRangeResult visitOr(Or or,
EvaluateRangeInput context) {
@Override
public EvaluateRangeResult visitNot(Not not, EvaluateRangeInput context) {
EvaluateRangeResult result = evaluateChildrenThenThis(not, context);
- if (result.isRejectNot()) {
+ if (result.isRejectNot() &&
!result.result.equals(BooleanLiteral.TRUE)) {
Review Comment:
add some comment to explain it future
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]