-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](nereids) extend infer predicates (#41731) #42457
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
Merged
morrySnow
merged 2 commits into
apache:branch-3.0
from
feiniaofeiafei:pick_extend_infer_predicates
Oct 28, 2024
Merged
[feature](nereids) extend infer predicates (#41731) #42457
morrySnow
merged 2 commits into
apache:branch-3.0
from
feiniaofeiafei:pick_extend_infer_predicates
Oct 28, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 41211 ms |
TPC-DS: Total hot run time: 189481 ms |
d88d3f6 to
6bc303a
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 40241 ms |
TPC-DS: Total hot run time: 188798 ms |
Contributor
Author
|
run p0 |
Contributor
Author
|
run cloud_p0 |
e2bb10d to
b6eb963
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 40555 ms |
TPC-DS: Total hot run time: 188649 ms |
Contributor
Author
|
run p0 |
Contributor
Author
|
run cloud_p0 |
b6eb963 to
f1bca63
Compare
This pr refactors the PredicatePropagation module and adds support for predicate deduction, including: Support for predicate deduction of like, not in, !=; Support for predicate deduction of abs(b)=1 for a=b and abs(a)=1; Support for transitive deduction of non-equivalent relations, for example, a>b b>1 leads to a>1. Deleted useless predicates. But still has something to do in predicate inference: support expr in infer predicate, e.g. abs(t1.c1)>abs(t2.c2) and abs(t1.c1)<1 need to add expr qualifier info, to determine whether abs(t1.c1) and abs(t2.c2) is from same table.
f1bca63 to
780edef
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 40306 ms |
TPC-DS: Total hot run time: 189291 ms |
Contributor
Author
|
run p0 |
1 similar comment
Contributor
Author
|
run p0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pick #41731 to branch-3.0