-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Bug](intersect) fix wrong result of intersect with null literal #50951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
run buildall |
run buildall |
run buildall |
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PullUpPredicates.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/InferPredicates.java
Outdated
Show resolved
Hide resolved
please add more detail in desc about how infer predicate influence set operation with null literal? |
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PullUpPredicates.java
Outdated
Show resolved
Hide resolved
run buildall |
1 similar comment
run buildall |
run buildall |
PR approved by anyone and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
) ### What problem does this PR solve? fix wrong result of intersect with null literal  InferPredicates will generate equal predicate on intersect/except operator's child, intersect/except operator require null safe equal to make 'null intersect null' return null instead of empty set 
…che#50951) ### What problem does this PR solve? fix wrong result of intersect with null literal  InferPredicates will generate equal predicate on intersect/except operator's child, intersect/except operator require null safe equal to make 'null intersect null' return null instead of empty set 
What problem does this PR solve?
fix wrong result of intersect with null literal
InferPredicates will generate equal predicate on intersect/except operator's child, intersect/except operator require null safe equal to make 'null intersect null' return null instead of empty set

Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)