Skip to content

debug-mock_const_execute#63391

Draft
Mryange wants to merge 3 commits into
apache:masterfrom
Mryange:debug-mock_const_execute
Draft

debug-mock_const_execute#63391
Mryange wants to merge 3 commits into
apache:masterfrom
Mryange:debug-mock_const_execute

Conversation

@Mryange
Copy link
Copy Markdown
Contributor

@Mryange Mryange commented May 19, 2026

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • 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
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen
Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See 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?

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 19, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 31604 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit ec3a7cfd37fdf466900f9b8f603c244288f28418, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17662	3905	3957	3905
q2	q3	10806	1403	802	802
q4	4690	484	345	345
q5	7604	2302	2089	2089
q6	252	188	146	146
q7	954	771	658	658
q8	9399	1712	1627	1627
q9	5191	4965	4959	4959
q10	6383	2103	1822	1822
q11	436	283	250	250
q12	632	431	310	310
q13	18167	3364	2796	2796
q14	272	256	252	252
q15	q16	830	777	712	712
q17	992	964	1003	964
q18	6854	5828	5547	5547
q19	1327	1346	1089	1089
q20	557	535	313	313
q21	6165	2902	2641	2641
q22	452	377	465	377
Total cold run time: 99625 ms
Total hot run time: 31604 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4674	4675	4552	4552
q2	q3	4871	5265	4698	4698
q4	2207	2217	1436	1436
q5	4947	4680	4694	4680
q6	231	179	129	129
q7	1938	1775	1612	1612
q8	2428	2069	2095	2069
q9	7646	7386	7211	7211
q10	4443	4432	3973	3973
q11	530	393	356	356
q12	709	727	511	511
q13	3059	3338	2790	2790
q14	266	295	260	260
q15	q16	678	706	613	613
q17	1279	1236	1234	1234
q18	7260	6703	6681	6681
q19	1130	1165	1084	1084
q20	2207	2221	1927	1927
q21	5380	4643	4563	4563
q22	540	477	396	396
Total cold run time: 56423 ms
Total hot run time: 50775 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 169329 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit ec3a7cfd37fdf466900f9b8f603c244288f28418, data reload: false

query5	4357	659	519	519
query6	336	235	210	210
query7	4221	578	306	306
query8	334	237	231	231
query9	8849	4021	4019	4019
query10	475	361	308	308
query11	5811	2406	2161	2161
query12	180	130	126	126
query13	1292	626	448	448
query14	6054	5419	5080	5080
query14_1	4374	4368	4347	4347
query15	215	205	189	189
query16	988	464	458	458
query17	1150	751	615	615
query18	2572	502	364	364
query19	227	213	169	169
query20	147	139	132	132
query21	231	140	120	120
query22	13615	13546	13373	13373
query23	17299	16450	16084	16084
query23_1	16224	16283	16095	16095
query24	7562	1757	1325	1325
query24_1	1315	1330	1306	1306
query25	604	502	460	460
query26	1344	314	180	180
query27	2698	538	341	341
query28	4406	2007	2009	2007
query29	1008	645	527	527
query30	318	243	198	198
query31	1152	1061	957	957
query32	92	80	78	78
query33	554	368	306	306
query34	1195	1161	681	681
query35	771	784	667	667
query36	1321	1315	1184	1184
query37	152	104	91	91
query38	3195	3151	3038	3038
query39	944	924	887	887
query39_1	893	872	886	872
query40	242	152	126	126
query41	66	77	62	62
query42	115	111	108	108
query43	325	334	286	286
query44	
query45	211	212	195	195
query46	1068	1187	756	756
query47	2346	2332	2198	2198
query48	410	418	304	304
query49	632	493	388	388
query50	969	355	252	252
query51	4270	4264	4219	4219
query52	104	103	93	93
query53	262	278	204	204
query54	310	276	262	262
query55	94	88	85	85
query56	319	321	300	300
query57	1426	1389	1301	1301
query58	305	270	267	267
query59	1543	1601	1418	1418
query60	333	340	315	315
query61	194	164	161	161
query62	681	640	569	569
query63	252	201	211	201
query64	2424	808	663	663
query65	
query66	1700	483	348	348
query67	30066	29926	29178	29178
query68	
query69	486	339	316	316
query70	959	1000	991	991
query71	308	280	271	271
query72	3004	2748	2660	2660
query73	843	773	447	447
query74	5051	4897	4748	4748
query75	2670	2589	2289	2289
query76	2275	1138	788	788
query77	402	405	335	335
query78	12209	12103	11600	11600
query79	1504	1060	745	745
query80	675	549	469	469
query81	474	277	248	248
query82	1364	162	121	121
query83	365	277	249	249
query84	258	146	110	110
query85	897	577	456	456
query86	406	338	354	338
query87	3411	3400	3190	3190
query88	3535	2675	2677	2675
query89	443	382	338	338
query90	1961	187	182	182
query91	177	169	144	144
query92	81	75	72	72
query93	1498	1385	906	906
query94	546	366	330	330
query95	706	473	376	376
query96	1010	767	346	346
query97	2686	2686	2564	2564
query98	242	243	233	233
query99	1129	1101	949	949
Total cold run time: 253389 ms
Total hot run time: 169329 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 19, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 31027 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit ed74dbf39576a9c7ec0ab95a67d64f2e0d27bdaa, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17693	3839	3823	3823
q2	q3	10799	1362	782	782
q4	4680	475	345	345
q5	7568	2231	2078	2078
q6	252	177	138	138
q7	914	795	647	647
q8	9362	1820	1544	1544
q9	6225	4895	4890	4890
q10	6436	2117	1810	1810
q11	448	282	251	251
q12	693	430	293	293
q13	18169	3385	2722	2722
q14	274	256	235	235
q15	q16	818	797	708	708
q17	988	888	850	850
q18	6787	6026	5640	5640
q19	1208	1215	1071	1071
q20	629	441	308	308
q21	6146	2643	2574	2574
q22	459	367	318	318
Total cold run time: 100548 ms
Total hot run time: 31027 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4658	4575	4788	4575
q2	q3	4864	5162	4579	4579
q4	2114	2199	1428	1428
q5	4791	4774	4621	4621
q6	226	175	136	136
q7	1900	1750	1521	1521
q8	2375	1877	1862	1862
q9	7343	7168	7244	7168
q10	4444	4422	4008	4008
q11	533	378	349	349
q12	707	722	503	503
q13	2991	3350	2732	2732
q14	272	280	247	247
q15	q16	667	694	612	612
q17	1251	1228	1223	1223
q18	7254	6832	6863	6832
q19	1114	1094	1106	1094
q20	2207	2204	1921	1921
q21	5281	4594	4452	4452
q22	524	455	403	403
Total cold run time: 55516 ms
Total hot run time: 50266 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 169265 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit ed74dbf39576a9c7ec0ab95a67d64f2e0d27bdaa, data reload: false

query5	4316	649	523	523
query6	361	222	202	202
query7	4222	562	311	311
query8	328	255	220	220
query9	8819	3991	3960	3960
query10	442	355	300	300
query11	5789	2368	2147	2147
query12	178	132	126	126
query13	1262	616	438	438
query14	5991	5371	5034	5034
query14_1	4381	4352	4389	4352
query15	227	203	179	179
query16	1022	467	431	431
query17	1178	760	615	615
query18	2669	489	363	363
query19	219	215	185	185
query20	138	135	133	133
query21	225	140	124	124
query22	13632	13536	13444	13444
query23	17200	16414	15973	15973
query23_1	16209	16295	16084	16084
query24	7362	1773	1288	1288
query24_1	1293	1303	1313	1303
query25	534	466	401	401
query26	1299	323	169	169
query27	2710	551	331	331
query28	4423	1991	1982	1982
query29	969	613	504	504
query30	309	238	197	197
query31	1114	1074	932	932
query32	84	76	72	72
query33	555	351	289	289
query34	1162	1153	619	619
query35	772	798	660	660
query36	1330	1350	1175	1175
query37	149	99	105	99
query38	3226	3109	3050	3050
query39	933	922	900	900
query39_1	879	877	873	873
query40	233	151	128	128
query41	69	63	63	63
query42	112	110	112	110
query43	318	328	288	288
query44	
query45	227	197	199	197
query46	1089	1225	726	726
query47	2391	2317	2250	2250
query48	397	413	297	297
query49	631	497	397	397
query50	1009	348	253	253
query51	4278	4319	4226	4226
query52	107	104	98	98
query53	258	287	210	210
query54	309	315	252	252
query55	93	93	82	82
query56	307	306	307	306
query57	1426	1402	1342	1342
query58	298	268	262	262
query59	1510	1599	1419	1419
query60	318	323	305	305
query61	158	154	152	152
query62	667	618	544	544
query63	242	205	205	205
query64	2393	781	628	628
query65	
query66	1730	469	357	357
query67	29351	29948	29834	29834
query68	
query69	464	335	306	306
query70	1025	981	968	968
query71	300	273	269	269
query72	3069	2691	2426	2426
query73	857	732	439	439
query74	5090	4894	4736	4736
query75	2680	2601	2270	2270
query76	2292	1128	750	750
query77	388	405	326	326
query78	12018	11913	11573	11573
query79	1234	948	736	736
query80	580	548	452	452
query81	447	282	246	246
query82	239	161	125	125
query83	267	271	241	241
query84	261	143	105	105
query85	853	570	448	448
query86	347	365	335	335
query87	3394	3331	3248	3248
query88	3488	2698	2641	2641
query89	420	393	335	335
query90	2210	192	183	183
query91	179	167	141	141
query92	78	80	76	76
query93	1478	1445	870	870
query94	536	364	306	306
query95	684	374	443	374
query96	993	826	339	339
query97	2692	2683	2565	2565
query98	236	229	234	229
query99	1096	1126	974	974
Total cold run time: 250562 ms
Total hot run time: 169265 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 19, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 31758 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit a23f7f4bf1c10f2b2ff6b9b7ce213622fef8b9bc, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17673	3975	3963	3963
q2	q3	10785	1416	803	803
q4	4699	480	347	347
q5	7588	2307	2165	2165
q6	348	189	147	147
q7	957	774	624	624
q8	9348	1837	1732	1732
q9	7054	4976	4973	4973
q10	6468	2074	1831	1831
q11	441	282	249	249
q12	636	433	309	309
q13	18176	3422	2837	2837
q14	267	255	252	252
q15	q16	823	776	702	702
q17	1023	972	1020	972
q18	6887	5726	5490	5490
q19	1175	1397	1163	1163
q20	534	432	285	285
q21	6096	2860	2605	2605
q22	465	383	309	309
Total cold run time: 101443 ms
Total hot run time: 31758 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4651	4605	4906	4605
q2	q3	4913	5248	4594	4594
q4	2166	2250	1418	1418
q5	4782	4759	4635	4635
q6	249	186	137	137
q7	1938	1807	1527	1527
q8	2357	1940	1953	1940
q9	7304	7301	7267	7267
q10	4544	4429	3980	3980
q11	554	382	356	356
q12	728	725	511	511
q13	3043	3410	2819	2819
q14	271	274	258	258
q15	q16	680	694	611	611
q17	1294	1271	1229	1229
q18	7422	6871	6677	6677
q19	1135	1063	1083	1063
q20	2237	2226	1942	1942
q21	5341	4614	4476	4476
q22	517	470	412	412
Total cold run time: 56126 ms
Total hot run time: 50457 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 169908 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit a23f7f4bf1c10f2b2ff6b9b7ce213622fef8b9bc, data reload: false

query5	4303	682	523	523
query6	326	225	202	202
query7	4300	574	314	314
query8	325	233	230	230
query9	8839	4111	4039	4039
query10	459	338	284	284
query11	5847	2532	2216	2216
query12	175	127	124	124
query13	1328	615	468	468
query14	5999	5367	5051	5051
query14_1	4360	4384	4361	4361
query15	223	202	185	185
query16	962	443	408	408
query17	1124	723	578	578
query18	2450	495	352	352
query19	219	230	165	165
query20	143	131	128	128
query21	214	134	117	117
query22	13713	13565	13403	13403
query23	17170	16337	15909	15909
query23_1	16160	16135	16225	16135
query24	7513	1776	1288	1288
query24_1	1287	1318	1342	1318
query25	553	475	456	456
query26	1308	320	175	175
query27	2709	604	351	351
query28	4454	2018	2006	2006
query29	962	622	496	496
query30	311	237	204	204
query31	1103	1066	947	947
query32	94	78	73	73
query33	534	359	302	302
query34	1164	1153	656	656
query35	773	787	679	679
query36	1321	1377	1084	1084
query37	152	101	87	87
query38	3217	3126	3032	3032
query39	928	927	898	898
query39_1	877	869	863	863
query40	227	149	124	124
query41	66	65	64	64
query42	112	114	111	111
query43	325	331	285	285
query44	
query45	213	204	195	195
query46	1087	1168	727	727
query47	2268	2301	2124	2124
query48	391	439	315	315
query49	649	497	380	380
query50	968	345	256	256
query51	4302	4288	4246	4246
query52	108	109	95	95
query53	261	294	211	211
query54	309	277	279	277
query55	95	93	87	87
query56	309	324	308	308
query57	1411	1395	1318	1318
query58	308	284	286	284
query59	1542	1660	1393	1393
query60	333	343	320	320
query61	183	176	178	176
query62	674	625	574	574
query63	254	208	219	208
query64	2467	860	670	670
query65	
query66	1725	488	371	371
query67	30182	30022	29869	29869
query68	
query69	471	345	319	319
query70	999	1016	991	991
query71	313	299	276	276
query72	3206	2932	2411	2411
query73	806	781	409	409
query74	5068	4875	4718	4718
query75	2683	2619	2263	2263
query76	2265	1154	760	760
query77	408	403	333	333
query78	12211	12203	11620	11620
query79	1490	1064	753	753
query80	1342	529	467	467
query81	511	274	237	237
query82	1276	157	127	127
query83	335	291	254	254
query84	261	143	110	110
query85	924	542	483	483
query86	446	337	329	329
query87	3447	3346	3169	3169
query88	3574	2711	2665	2665
query89	449	394	337	337
query90	1904	195	185	185
query91	184	167	141	141
query92	81	76	75	75
query93	1518	1428	836	836
query94	730	315	327	315
query95	692	392	446	392
query96	1095	770	344	344
query97	2706	2691	2542	2542
query98	238	242	230	230
query99	1083	1124	950	950
Total cold run time: 254126 ms
Total hot run time: 169908 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants