You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "feiniaofeiafei (via GitHub)" <gi...@apache.org> on 2025/05/21 01:40:29 UTC

[PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

feiniaofeiafei opened a new pull request, #51099:
URL: https://github.com/apache/doris/pull/51099

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "feiniaofeiafei (via GitHub)" <gi...@apache.org>.
feiniaofeiafei commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2896224442

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2899793996

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2896446401

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 33837 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 47839af15e34d498ccaf63a65d412dd9bb4508d7, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	26041	5069	4987	4987
   q2	2072	279	189	189
   q3	10510	1260	690	690
   q4	10222	1028	513	513
   q5	7694	2369	2392	2369
   q6	181	162	130	130
   q7	927	756	635	635
   q8	9330	1293	1069	1069
   q9	6764	5164	5132	5132
   q10	6862	2328	1901	1901
   q11	478	295	277	277
   q12	350	360	216	216
   q13	17777	3671	3062	3062
   q14	229	231	216	216
   q15	531	488	477	477
   q16	416	439	373	373
   q17	637	859	371	371
   q18	7548	7146	7171	7146
   q19	1575	957	551	551
   q20	340	332	226	226
   q21	3675	2547	2327	2327
   q22	1060	1007	980	980
   Total cold run time: 115219 ms
   Total hot run time: 33837 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5129	5064	5089	5064
   q2	233	319	223	223
   q3	2179	2670	2318	2318
   q4	1345	1782	1342	1342
   q5	4410	4374	4407	4374
   q6	216	171	124	124
   q7	2017	1983	1757	1757
   q8	2589	2602	2600	2600
   q9	7259	7286	7034	7034
   q10	3065	3216	2716	2716
   q11	576	497	486	486
   q12	709	747	600	600
   q13	3527	3898	3238	3238
   q14	293	298	294	294
   q15	543	486	505	486
   q16	437	484	469	469
   q17	1166	1557	1379	1379
   q18	7839	7614	7522	7522
   q19	804	825	933	825
   q20	2002	1968	1854	1854
   q21	4846	4600	4434	4434
   q22	1138	1067	1015	1015
   Total cold run time: 52322 ms
   Total hot run time: 50154 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "morrySnow (via GitHub)" <gi...@apache.org>.
morrySnow merged PR #51099:
URL: https://github.com/apache/doris/pull/51099


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2896223735

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2896459905

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 193910 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 47839af15e34d498ccaf63a65d412dd9bb4508d7, data reload: false
   
   query1	1401	1096	1094	1094
   query2	6187	1892	1878	1878
   query3	11129	4607	4637	4607
   query4	53951	25885	23488	23488
   query5	5302	497	455	455
   query6	361	209	221	209
   query7	4962	524	306	306
   query8	336	262	253	253
   query9	6076	2645	2624	2624
   query10	435	333	273	273
   query11	15072	15055	14839	14839
   query12	160	113	108	108
   query13	1092	533	411	411
   query14	10002	6330	6361	6330
   query15	210	185	174	174
   query16	6956	666	531	531
   query17	1086	735	615	615
   query18	1563	421	322	322
   query19	208	200	173	173
   query20	132	137	128	128
   query21	212	140	108	108
   query22	4355	4553	4362	4362
   query23	34506	33459	33539	33459
   query24	6822	2407	2425	2407
   query25	491	485	417	417
   query26	793	278	153	153
   query27	2346	519	345	345
   query28	3338	2171	2150	2150
   query29	609	566	429	429
   query30	269	221	193	193
   query31	861	869	795	795
   query32	77	60	63	60
   query33	462	388	319	319
   query34	781	868	532	532
   query35	800	838	754	754
   query36	929	1004	892	892
   query37	122	123	74	74
   query38	4220	4336	4198	4198
   query39	1511	1457	1486	1457
   query40	226	120	105	105
   query41	54	55	55	55
   query42	134	111	115	111
   query43	514	535	519	519
   query44	1337	864	858	858
   query45	196	178	173	173
   query46	864	1050	668	668
   query47	1843	1872	1811	1811
   query48	402	449	319	319
   query49	704	510	454	454
   query50	662	698	407	407
   query51	4199	4234	4260	4234
   query52	112	116	109	109
   query53	237	253	193	193
   query54	597	575	543	543
   query55	84	88	88	88
   query56	329	296	309	296
   query57	1178	1198	1153	1153
   query58	276	277	262	262
   query59	2747	2955	2803	2803
   query60	355	345	316	316
   query61	125	120	120	120
   query62	725	739	682	682
   query63	223	186	186	186
   query64	2220	1003	748	748
   query65	4321	4250	4252	4250
   query66	759	393	300	300
   query67	16158	15589	15393	15393
   query68	7315	890	523	523
   query69	547	303	280	280
   query70	1180	1124	1118	1118
   query71	485	330	302	302
   query72	5947	4875	4922	4875
   query73	1169	678	348	348
   query74	9076	9277	8990	8990
   query75	3793	3203	2648	2648
   query76	4280	1189	776	776
   query77	650	376	282	282
   query78	10043	10189	9378	9378
   query79	2196	827	589	589
   query80	653	512	454	454
   query81	496	252	225	225
   query82	401	129	94	94
   query83	440	258	241	241
   query84	287	101	88	88
   query85	786	348	330	330
   query86	371	295	271	271
   query87	4388	4493	4399	4399
   query88	3026	2320	2325	2320
   query89	411	318	293	293
   query90	1950	219	215	215
   query91	147	146	115	115
   query92	78	58	56	56
   query93	1149	921	580	580
   query94	706	433	305	305
   query95	380	297	287	287
   query96	511	564	289	289
   query97	2735	2796	2669	2669
   query98	228	211	206	206
   query99	1449	1394	1286	1286
   Total cold run time: 298979 ms
   Total hot run time: 193910 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2899794048

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](nereids) Not use rule FOUR_PHASE_AGGREGATE_WITH_DISTINCT_WITH_FULL_DISTRIBUTE when mustUseMultiDistinctAgg [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #51099:
URL: https://github.com/apache/doris/pull/51099#issuecomment-2896465380

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 29.19 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 47839af15e34d498ccaf63a65d412dd9bb4508d7, data reload: false
   
   query1	0.04	0.05	0.04
   query2	0.13	0.11	0.11
   query3	0.24	0.20	0.20
   query4	1.59	0.19	0.20
   query5	0.45	0.44	0.44
   query6	1.17	0.68	0.66
   query7	0.02	0.02	0.02
   query8	0.04	0.04	0.03
   query9	0.59	0.51	0.51
   query10	0.57	0.57	0.57
   query11	0.15	0.11	0.11
   query12	0.15	0.11	0.12
   query13	0.62	0.59	0.61
   query14	0.79	0.80	0.80
   query15	0.87	0.85	0.87
   query16	0.38	0.39	0.38
   query17	1.05	1.05	1.03
   query18	0.22	0.21	0.22
   query19	1.91	1.83	1.81
   query20	0.02	0.01	0.01
   query21	15.39	0.94	0.56
   query22	0.76	1.18	0.78
   query23	14.77	1.37	0.61
   query24	7.66	0.80	0.68
   query25	0.49	0.26	0.14
   query26	0.65	0.17	0.14
   query27	0.05	0.05	0.06
   query28	9.29	0.88	0.44
   query29	12.52	3.99	3.28
   query30	0.26	0.09	0.07
   query31	2.82	0.61	0.38
   query32	3.23	0.55	0.46
   query33	3.11	3.11	3.04
   query34	15.78	5.14	4.55
   query35	4.60	4.55	4.59
   query36	0.67	0.50	0.48
   query37	0.08	0.06	0.06
   query38	0.04	0.04	0.03
   query39	0.03	0.02	0.03
   query40	0.17	0.14	0.13
   query41	0.08	0.02	0.02
   query42	0.03	0.03	0.03
   query43	0.04	0.03	0.02
   Total cold run time: 103.52 s
   Total hot run time: 29.19 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org