-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[fix](mtmv) Fix select literal result wrongly in group by when use materialized view #38958
[fix](mtmv) Fix select literal result wrongly in group by when use materialized view #38958
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
TPC-H: Total hot run time: 41954 ms
|
TPC-DS: Total hot run time: 169174 ms
|
ClickBench: Total hot run time: 29.96 s
|
* if the slot which query top project use can not cover the slot which query bottom aggregate group by slot | ||
* should compensate group by to make sure the data is right. | ||
*/ | ||
private static boolean needCompensateGroupBy(Set<? extends Expression> queryTopPlanGroupBySet, |
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.
does queryTopPlanGroupBySet mean top project slots? if it does, we may use a better name such as topProjectList?
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run buildall |
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
TPC-H: Total hot run time: 41748 ms
|
TPC-DS: Total hot run time: 169072 ms
|
ClickBench: Total hot run time: 30.15 s
|
6a74ccb
to
d53d29c
Compare
run buildall |
TPC-H: Total hot run time: 39142 ms
|
TPC-DS: Total hot run time: 202500 ms
|
ClickBench: Total hot run time: 30.36 s
|
d53d29c
to
7b38851
Compare
run buildall |
TPC-H: Total hot run time: 39270 ms
|
TPC-DS: Total hot run time: 191280 ms
|
ClickBench: Total hot run time: 31.44 s
|
248b34e
to
65a5b27
Compare
run buildall |
TPC-H: Total hot run time: 37842 ms
|
TPC-DS: Total hot run time: 196155 ms
|
ClickBench: Total hot run time: 31.57 s
|
PR approved by at least one committer and no changes requested. |
run beut |
run cloudut |
…terialized view (apache#38958) This is brought by apache#34274 if mv def is select o_orderdate from orders group by o_orderdate; query is as followiing, the result is wrong. select 1 from orders group by o_orderdate;
Proposed changes
This is brought by #34274
if mv def is
query is as followiing, the result is wrong. this pr fix the problem.