yujun777 commented on code in PR #44637:
URL: https://github.com/apache/doris/pull/44637#discussion_r1859751913
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/SimplifyRange.java:
##########
@@ -271,8 +271,8 @@ public static ValueDesc discrete(ExpressionRewriteContext
context, InPredicate i
private static class EmptyValue extends ValueDesc {
- public EmptyValue(ExpressionRewriteContext context, Expression
reference, Expression exprForNonNull) {
- super(context, reference, exprForNonNull);
+ public EmptyValue(ExpressionRewriteContext context, Expression
reference, Expression toExpr) {
+ super(context, reference, toExpr);
}
@Override
Review Comment:
for A union / intersect B, if met A is EmptyValue, then A and B's
reference should always be the same.
so EmptyValue union another ValueDesc with the same reference, the
EmptyValue really remove ? and insect with aother valueDesc with the same
reference, only keep this EmptyValue is ok ?
--
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]