yujun777 commented on code in PR #45310:
URL: https://github.com/apache/doris/pull/45310#discussion_r1883406908
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/RangeInference.java:
##########
@@ -461,6 +475,9 @@ public boolean isAnd() {
@Override
public ValueDesc union(ValueDesc other) {
+ if (other instanceof EmptyValue) {
+ return other.union(this);
+ }
Review Comment:
for a given reference, EmptyValue(reference) or UnknownValue(reference),
then it should always evaluate to UnknowValue(referece)
--
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]