-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[feat](nereids) add rewrite rule :EliminateGroupByKeyByUniform #43391
base: master
Are you sure you want to change the base?
[feat](nereids) add rewrite rule :EliminateGroupByKeyByUniform #43391
Conversation
run buildall |
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
import java.util.Map; | ||
import java.util.Set; | ||
|
||
/**ProjectFilterTransform*/ |
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.
class comment should contain what the rule want to do and how
run buildall |
TPC-H: Total hot run time: 41389 ms
|
run buildall |
TPC-H: Total hot run time: 41292 ms
|
e668096
to
452bb5f
Compare
run buildall |
0c01e45
to
6333e6f
Compare
run buildall |
6f13f10
to
892b7ec
Compare
run buildall |
6b4a551
to
852065c
Compare
run buidlall |
b393ff3
to
0c470a6
Compare
run buildall |
73c21af
to
c2bc25a
Compare
run buildall |
cdb345c
to
c99e369
Compare
run buildall |
1d2ad46
to
d211163
Compare
run buildall |
d211163
to
ace4ebb
Compare
run buildall |
ace4ebb
to
bb60daa
Compare
run buildall |
1 similar comment
run buildall |
…edicateDrivenProjectionSimplification add license and class describe group by is empty then not tranform in EliminateGroupByKeyByUniform remove transform PredicateDrivenProjectionSimplification
fix code style change getAllUniformAndNotNull in data trait builder change qualify compute uniform consider a=null predicate and change isUniformAndNotNull logic use Optional in Uniform Description if uniform slot can not get const value, use putIfAbsent when add to slotUniformValue add logical project constant value to uniform description
…orm in LogicalProject
…orm in LogicalProject
…xprid becoming duplicated
…s rule, and add some cases
bb60daa
to
7821e01
Compare
run buildall |
What problem does this PR solve?
This PR introduces two main changes:
+--aggregate(group by a,b output a,b,max(c))
(a is uniform and not null: e.g. a is projection 2 as a in logicalProject)
->
+--aggregate(group by b output b,any_value(a) as a,max(c))
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Release note
None
Check List (For Reviewer who merge this PR)