Skip to content

[fix](Nereids): TransposeSemiJoinAgg can't apply in Scalar Agg#28434

Merged
jackwener merged 1 commit intoapache:masterfrom
jackwener:fix
Dec 15, 2023
Merged

[fix](Nereids): TransposeSemiJoinAgg can't apply in Scalar Agg#28434
jackwener merged 1 commit intoapache:masterfrom
jackwener:fix

Conversation

@jackwener
Copy link
Member

Proposed changes

Scalar Agg shouldn't be pushdown, it will cause wrong result

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@jackwener
Copy link
Member Author

run buildall

@doris-robot
Copy link

TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
Tpch sf100 test result on commit 9e61e6fe540edc4fe31375071c86a033b5d8d9f1, data reload: false

run tpch-sf100 query with default conf and session variables
q1	4711	4429	4469	4429
q2	364	150	156	150
q3	1459	1238	1237	1237
q4	1097	902	858	858
q5	3118	3150	3155	3150
q6	245	127	128	127
q7	978	503	490	490
q8	2197	2213	2182	2182
q9	6682	6688	6635	6635
q10	3203	3217	3269	3217
q11	330	208	214	208
q12	350	212	204	204
q13	4550	3819	3804	3804
q14	238	211	211	211
q15	568	527	516	516
q16	443	385	398	385
q17	1003	577	542	542
q18	7210	6865	6904	6865
q19	1514	1352	1454	1352
q20	529	321	300	300
q21	3037	2636	2665	2636
q22	352	284	286	284
Total cold run time: 44178 ms
Total hot run time: 39782 ms

run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
q1	4402	4400	4398	4398
q2	265	162	176	162
q3	3535	3555	3524	3524
q4	2387	2368	2361	2361
q5	5729	5726	5733	5726
q6	241	122	122	122
q7	2363	1880	1847	1847
q8	3509	3512	3508	3508
q9	9010	9002	9032	9002
q10	3903	3964	3998	3964
q11	510	389	389	389
q12	758	589	594	589
q13	4293	3543	3570	3543
q14	283	262	254	254
q15	575	520	527	520
q16	503	451	461	451
q17	1881	1828	1824	1824
q18	8611	8228	8248	8228
q19	1726	1760	1740	1740
q20	2254	1957	1949	1949
q21	6499	6154	6152	6152
q22	505	445	432	432
Total cold run time: 63742 ms
Total hot run time: 60685 ms

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 15, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@jackwener jackwener merged commit 0f93ee8 into apache:master Dec 15, 2023
jackwener added a commit to jackwener/doris that referenced this pull request Dec 15, 2023
…e#28434)

Scalar Agg shouldn't be pushdown, it will cause wrong result

(cherry picked from commit 0f93ee8)
jackwener added a commit to jackwener/doris that referenced this pull request Dec 16, 2023
…e#28434)

Scalar Agg shouldn't be pushdown, it will cause wrong result

(cherry picked from commit 0f93ee8)
xiaokang pushed a commit that referenced this pull request Dec 17, 2023
* [fix](Planner): parse more Punctuation Date/DateTime (#28432)

parse more Punctuation as separator, like `2021@01@01 00/00/00`;

(cherry picked from commit 8986bb6)

* [fix](Nereids): TransposeSemiJoinAgg can't apply in Scalar Agg (#28434)

Scalar Agg shouldn't be pushdown, it will cause wrong result

(cherry picked from commit 0f93ee8)
hello-stephen pushed a commit to hello-stephen/doris that referenced this pull request Dec 28, 2023
…e#28434)

Scalar Agg shouldn't be pushdown, it will cause wrong result
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this pull request Jan 12, 2024
…e#28434)

Scalar Agg shouldn't be pushdown, it will cause wrong result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.4-merged p0_w reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants