englefly commented on code in PR #29164:
URL: https://github.com/apache/doris/pull/29164#discussion_r1438762597
##########
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:
单独说这一个点,是说不清楚的,要把整个算法的逻辑解释一遍才能说清楚。我后续整理一个文档来说明这个问题吧
--
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]