Skip to content

demo-short_circuit_execute_conjuncts#60683

Draft
Mryange wants to merge 2 commits intoapache:masterfrom
Mryange:demo-short_circuit_execute_conjuncts
Draft

demo-short_circuit_execute_conjuncts#60683
Mryange wants to merge 2 commits intoapache:masterfrom
Mryange:demo-short_circuit_execute_conjuncts

Conversation

@Mryange
Copy link
Contributor

@Mryange Mryange commented Feb 11, 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
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
Contributor Author

Mryange commented Feb 11, 2026

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17580	4429	4300	4300
q2	2032	383	233	233
q3	10124	1310	724	724
q4	10200	793	311	311
q5	7547	2209	1934	1934
q6	198	176	147	147
q7	878	750	613	613
q8	9272	1476	1159	1159
q9	4822	4650	4632	4632
q10	6850	1945	1562	1562
q11	501	266	240	240
q12	348	384	236	236
q13	17777	4062	3245	3245
q14	245	240	216	216
q15	899	815	807	807
q16	686	679	633	633
q17	703	774	604	604
q18	6640	6057	5807	5807
q19	1253	988	630	630
q20	526	515	396	396
q21	2564	1875	1822	1822
q22	347	279	250	250
Total cold run time: 101992 ms
Total hot run time: 30501 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4371	4363	4365	4363
q2	260	327	255	255
q3	2091	2674	2243	2243
q4	1352	1722	1313	1313
q5	4261	4116	4191	4116
q6	218	179	140	140
q7	1846	1795	1680	1680
q8	2534	2680	2517	2517
q9	7589	7523	7440	7440
q10	2787	3207	2588	2588
q11	515	444	413	413
q12	697	756	583	583
q13	3907	4428	3539	3539
q14	298	321	299	299
q15	863	821	832	821
q16	671	724	677	677
q17	1233	1382	1421	1382
q18	8317	7900	7956	7900
q19	920	912	966	912
q20	2199	2158	1958	1958
q21	4800	4674	4441	4441
q22	497	493	437	437
Total cold run time: 52226 ms
Total hot run time: 50017 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 190952 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 35149d2265bebc0805232ff069376b6da31c128f, data reload: false

query5	4297	601	492	492
query6	332	210	208	208
query7	4213	469	279	279
query8	333	248	233	233
query9	8702	2784	2747	2747
query10	511	352	337	337
query11	16636	16501	16143	16143
query12	172	119	116	116
query13	1249	450	349	349
query14	6166	3200	2977	2977
query14_1	2827	2781	2781	2781
query15	203	191	177	177
query16	986	467	448	448
query17	1094	684	622	622
query18	2448	427	339	339
query19	209	199	172	172
query20	131	128	125	125
query21	213	139	118	118
query22	4743	5025	4830	4830
query23	19000	18487	18166	18166
query23_1	18462	18459	18374	18374
query24	7180	1596	1213	1213
query24_1	1211	1217	1255	1217
query25	527	431	387	387
query26	1244	269	157	157
query27	2766	460	297	297
query28	4530	1877	1893	1877
query29	762	527	442	442
query30	318	254	213	213
query31	861	734	655	655
query32	90	79	73	73
query33	543	343	286	286
query34	933	923	582	582
query35	641	677	605	605
query36	1071	1119	1004	1004
query37	139	98	89	89
query38	2990	3006	2850	2850
query39	962	915	913	913
query39_1	863	901	879	879
query40	219	131	120	120
query41	70	63	63	63
query42	105	100	102	100
query43	434	418	407	407
query44	1326	746	724	724
query45	199	190	184	184
query46	871	993	618	618
query47	2139	2084	2092	2084
query48	304	317	238	238
query49	610	429	358	358
query50	658	267	231	231
query51	4027	4121	4093	4093
query52	100	100	89	89
query53	285	328	277	277
query54	294	277	255	255
query55	89	82	79	79
query56	313	310	319	310
query57	1363	1377	1252	1252
query58	276	263	265	263
query59	2083	2128	2031	2031
query60	340	334	316	316
query61	148	147	144	144
query62	604	556	511	511
query63	302	271	272	271
query64	4813	1251	979	979
query65	4609	4430	4428	4428
query66	1448	443	334	334
query67	16319	16461	16309	16309
query68	2384	1072	716	716
query69	405	319	281	281
query70	1038	974	973	973
query71	325	318	294	294
query72	2920	2837	2515	2515
query73	520	553	311	311
query74	9754	9657	9538	9538
query75	2783	2762	2432	2432
query76	2285	1069	663	663
query77	351	394	312	312
query78	11320	11382	10880	10880
query79	1090	852	632	632
query80	639	587	529	529
query81	500	290	267	267
query82	1566	153	114	114
query83	355	262	237	237
query84	251	122	103	103
query85	843	467	428	428
query86	357	331	298	298
query87	3145	3090	2999	2999
query88	3611	2701	2690	2690
query89	395	354	318	318
query90	1920	178	166	166
query91	167	155	134	134
query92	77	77	68	68
query93	887	842	483	483
query94	458	338	287	287
query95	602	340	311	311
query96	648	524	225	225
query97	2452	2491	2400	2400
query98	221	234	210	210
query99	947	924	819	819
Total cold run time: 261865 ms
Total hot run time: 190952 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 28.17 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 35149d2265bebc0805232ff069376b6da31c128f, data reload: false

query1	0.05	0.05	0.05
query2	0.12	0.05	0.04
query3	0.26	0.09	0.09
query4	1.61	0.12	0.11
query5	0.27	0.26	0.24
query6	1.15	0.68	0.66
query7	0.03	0.03	0.03
query8	0.06	0.04	0.04
query9	0.58	0.50	0.50
query10	0.55	0.55	0.54
query11	0.13	0.10	0.09
query12	0.15	0.11	0.11
query13	0.63	0.62	0.60
query14	1.07	1.03	1.03
query15	0.88	0.87	0.89
query16	0.40	0.40	0.39
query17	1.10	1.14	1.15
query18	0.22	0.20	0.21
query19	2.04	2.03	2.00
query20	0.02	0.01	0.02
query21	15.39	0.25	0.15
query22	4.96	0.06	0.06
query23	15.83	0.29	0.11
query24	2.11	0.73	0.19
query25	0.09	0.06	0.07
query26	0.15	0.14	0.14
query27	0.08	0.05	0.08
query28	4.80	1.14	0.96
query29	12.55	3.88	3.17
query30	0.27	0.13	0.12
query31	2.82	0.64	0.41
query32	3.25	0.59	0.51
query33	3.17	3.28	3.37
query34	16.16	5.39	4.66
query35	4.72	4.70	4.80
query36	0.64	0.50	0.49
query37	0.11	0.08	0.07
query38	0.08	0.05	0.04
query39	0.05	0.03	0.03
query40	0.20	0.16	0.15
query41	0.09	0.03	0.03
query42	0.04	0.03	0.02
query43	0.04	0.04	0.03
Total cold run time: 98.92 s
Total hot run time: 28.17 s

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 11.29% (7/62) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.76% (19475/36911)
Line Coverage 36.24% (181435/500623)
Region Coverage 32.63% (140709/431277)
Branch Coverage 33.65% (61010/181304)

@Mryange
Copy link
Contributor Author

Mryange commented Feb 11, 2026

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18200	4514	4282	4282
q2	2022	337	233	233
q3	10196	1296	725	725
q4	10203	767	307	307
q5	7532	2192	1889	1889
q6	196	178	146	146
q7	903	745	603	603
q8	9278	1294	1148	1148
q9	4722	4642	4570	4570
q10	6776	1929	1567	1567
q11	461	257	242	242
q12	328	376	226	226
q13	17777	4030	3253	3253
q14	239	230	215	215
q15	883	799	808	799
q16	699	690	623	623
q17	700	816	516	516
q18	6396	5864	6122	5864
q19	1486	1047	684	684
q20	611	604	411	411
q21	2769	1940	1908	1908
q22	345	287	281	281
Total cold run time: 102722 ms
Total hot run time: 30492 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4639	4679	4629	4629
q2	274	356	267	267
q3	2381	2833	2445	2445
q4	1526	1881	1385	1385
q5	4566	4959	4465	4465
q6	229	188	145	145
q7	2047	1891	1781	1781
q8	2572	2440	2415	2415
q9	7600	7302	7553	7302
q10	2762	2942	2557	2557
q11	506	439	417	417
q12	658	748	609	609
q13	3590	4003	3244	3244
q14	264	278	260	260
q15	822	787	772	772
q16	646	668	645	645
q17	1094	1242	1352	1242
q18	7389	7401	7254	7254
q19	831	787	774	774
q20	1943	2078	1869	1869
q21	4465	4278	4127	4127
q22	482	476	399	399
Total cold run time: 51286 ms
Total hot run time: 49003 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 190731 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 71e5b53e628dd2e4bc6571605ea524c5e726788f, data reload: false

query5	4334	608	488	488
query6	344	228	196	196
query7	4218	454	257	257
query8	336	240	221	221
query9	8693	2684	2711	2684
query10	486	374	352	352
query11	16622	16444	16183	16183
query12	180	120	121	120
query13	1253	443	342	342
query14	6471	3187	2948	2948
query14_1	2843	2768	2739	2739
query15	209	189	174	174
query16	996	468	450	450
query17	1095	704	587	587
query18	2646	446	342	342
query19	209	210	186	186
query20	130	129	122	122
query21	221	146	127	127
query22	5059	5151	5119	5119
query23	19124	18607	18306	18306
query23_1	18540	18498	18454	18454
query24	7129	1601	1194	1194
query24_1	1186	1222	1220	1220
query25	526	436	380	380
query26	1235	253	148	148
query27	2790	458	287	287
query28	4522	1854	1853	1853
query29	789	544	429	429
query30	311	254	223	223
query31	871	739	640	640
query32	91	78	72	72
query33	520	329	290	290
query34	912	896	562	562
query35	638	681	622	622
query36	1114	1112	991	991
query37	139	97	102	97
query38	2921	2915	2833	2833
query39	927	903	883	883
query39_1	878	883	890	883
query40	220	131	127	127
query41	66	64	64	64
query42	101	99	99	99
query43	444	421	396	396
query44	1323	715	716	715
query45	209	191	180	180
query46	888	975	603	603
query47	2167	2203	2148	2148
query48	307	322	225	225
query49	613	437	340	340
query50	680	267	207	207
query51	4064	4076	4085	4076
query52	100	107	91	91
query53	286	324	272	272
query54	296	273	263	263
query55	85	82	84	82
query56	309	312	307	307
query57	1366	1362	1257	1257
query58	269	261	255	255
query59	2091	2156	1959	1959
query60	343	335	320	320
query61	150	144	144	144
query62	579	582	511	511
query63	298	273	262	262
query64	4936	1251	938	938
query65	4526	4414	4443	4414
query66	1399	446	346	346
query67	16304	16407	16260	16260
query68	2453	1069	712	712
query69	398	315	280	280
query70	1040	1005	937	937
query71	331	306	288	288
query72	2892	2748	2503	2503
query73	530	543	313	313
query74	9691	9645	9585	9585
query75	2766	2765	2456	2456
query76	2309	1065	639	639
query77	347	368	290	290
query78	11230	11495	10864	10864
query79	1130	865	623	623
query80	708	562	487	487
query81	490	289	257	257
query82	1342	149	116	116
query83	364	255	236	236
query84	249	129	94	94
query85	817	471	416	416
query86	361	312	289	289
query87	3130	3113	2942	2942
query88	3501	2664	2625	2625
query89	386	344	301	301
query90	1831	180	170	170
query91	170	158	129	129
query92	79	72	73	72
query93	882	840	478	478
query94	451	326	291	291
query95	587	341	323	323
query96	635	511	223	223
query97	2483	2487	2453	2453
query98	213	216	206	206
query99	967	958	852	852
Total cold run time: 261639 ms
Total hot run time: 190731 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 28.21 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 71e5b53e628dd2e4bc6571605ea524c5e726788f, data reload: false

query1	0.06	0.05	0.05
query2	0.10	0.05	0.05
query3	0.25	0.08	0.08
query4	1.61	0.11	0.11
query5	0.27	0.25	0.25
query6	1.17	0.68	0.67
query7	0.03	0.03	0.03
query8	0.05	0.04	0.04
query9	0.56	0.51	0.49
query10	0.55	0.56	0.54
query11	0.15	0.09	0.09
query12	0.14	0.10	0.10
query13	0.63	0.62	0.61
query14	1.08	1.08	1.04
query15	0.90	0.86	0.86
query16	0.40	0.42	0.39
query17	1.17	1.09	1.13
query18	0.23	0.21	0.21
query19	2.03	1.95	2.00
query20	0.02	0.01	0.01
query21	15.42	0.28	0.15
query22	5.13	0.06	0.05
query23	15.81	0.28	0.10
query24	2.44	0.30	0.43
query25	0.11	0.06	0.06
query26	0.13	0.13	0.13
query27	0.11	0.06	0.04
query28	4.75	1.14	0.96
query29	12.57	3.88	3.16
query30	0.27	0.12	0.11
query31	2.81	0.60	0.39
query32	3.24	0.58	0.50
query33	3.16	3.22	3.26
query34	16.43	5.38	4.74
query35	4.77	4.77	4.80
query36	0.64	0.49	0.49
query37	0.11	0.07	0.07
query38	0.08	0.04	0.04
query39	0.04	0.03	0.02
query40	0.20	0.16	0.16
query41	0.08	0.03	0.03
query42	0.04	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 99.78 s
Total hot run time: 28.21 s

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 10.94% (7/64) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.76% (19475/36911)
Line Coverage 36.24% (181440/500622)
Region Coverage 32.59% (140574/431284)
Branch Coverage 33.65% (61017/181309)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 96.88% (62/64) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.75% (25949/36166)
Line Coverage 54.39% (271611/499383)
Region Coverage 51.97% (226395/435663)
Branch Coverage 53.37% (97134/182013)

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.

3 participants