Skip to content
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

[refactor](exec) refactor analytic operator to improve performance #46181

Merged
merged 25 commits into from
Jan 23, 2025

Conversation

zhangstar333
Copy link
Contributor

@zhangstar333 zhangstar333 commented Dec 30, 2024

What problem does this PR solve?

Problem Summary:

Refactoring of Window Function Logic

The previous implementation of the window function operator had complex logic and poor execution performance. In this refactored version, we have categorized the window types and mapped them to corresponding execution functions. The logic is now divided into three major types, with further subdivisions based on specific window types:

  • No Window
    Execution Function:
    _get_next_for_partition: [unbounded preceding, unbounded following]

  • Range Window
    Execution Functions:
    _get_next_for_partition: [unbounded preceding,unbounded following]
    _get_next_for_unbounded_range [RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW]
    _get_next_for_range_between [RANGE BETWEEN M PRECEDING AND N FOLLOWING]

  • Rows Window
    Execution Functions:
    _get_next_for_partition : [unbounded preceding,unbounded following]
    _get_next_for_unbounded_rows: [ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW]
    _get_next_for_sliding_rows: [ROWS BETWEEN M PRECEDING AND N FOLLOWING]

Refactoring of Partition Boundary Search

Previously, the boundary search method used a two-level approach:
Firstly need Locate the block position
and then use binary search within the block to find partition boundary
Now, all data is written into a single large column, and binary search is performed directly within this column.

Changes to Operator Dependency Logic
The operator dependency logic has been modified to control the shared buffer:
When the buffer is too full: sink dependency will be blocked, source is running.
When the buffer is empty: sink is resumed, source is blocked.

These changes aim to enhance the functionality and performance of analytic processing and window functions in the pipeline.
and have test in case, this refactor have improve performance 5~10%

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

@Thearas
Copy link
Contributor

Thearas commented Dec 30, 2024

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?

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17608	6233	6181	6181
q2	2043	323	174	174
q3	10394	1291	717	717
q4	10296	881	438	438
q5	7483	2227	1961	1961
q6	201	179	148	148
q7	902	746	636	636
q8	9233	1355	1136	1136
q9	5275	4940	4964	4940
q10	6786	2299	1850	1850
q11	483	286	278	278
q12	350	356	225	225
q13	17774	3602	2977	2977
q14	243	235	219	219
q15	573	500	501	500
q16	621	629	596	596
q17	572	853	325	325
q18	7043	6454	6378	6378
q19	1478	981	551	551
q20	313	330	198	198
q21	2864	2182	2030	2030
q22	366	337	315	315
Total cold run time: 102901 ms
Total hot run time: 32773 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6266	6222	6240	6222
q2	240	329	237	237
q3	2219	2635	2297	2297
q4	1398	1805	1360	1360
q5	4341	4814	4780	4780
q6	188	179	145	145
q7	2121	1988	1786	1786
q8	2598	2807	2626	2626
q9	7322	7228	7092	7092
q10	3056	3286	2837	2837
q11	596	522	511	511
q12	680	774	614	614
q13	3427	3699	3028	3028
q14	299	313	287	287
q15	569	496	516	496
q16	650	693	644	644
q17	1193	1724	1239	1239
q18	7784	7440	7180	7180
q19	788	966	1065	966
q20	1868	1934	1822	1822
q21	5376	5128	4800	4800
q22	598	617	574	574
Total cold run time: 53577 ms
Total hot run time: 51543 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.90% (10122/26021)
Line Coverage: 29.90% (85536/286078)
Region Coverage: 29.02% (43714/150637)
Branch Coverage: 25.55% (22296/87278)
Coverage Report: http://coverage.selectdb-in.cc/coverage/d02dbcc6573ce35820e7eacd4356288393f3e2c1_d02dbcc6573ce35820e7eacd4356288393f3e2c1/report/index.html

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17567	6130	6035	6035
q2	2051	332	173	173
q3	10403	1232	745	745
q4	10205	858	427	427
q5	7653	2213	2027	2027
q6	206	181	148	148
q7	895	762	613	613
q8	9234	1362	1123	1123
q9	5157	4914	4912	4912
q10	6879	2386	1925	1925
q11	490	283	258	258
q12	355	382	226	226
q13	17755	3613	3024	3024
q14	227	223	217	217
q15	561	504	506	504
q16	638	616	603	603
q17	579	851	329	329
q18	6915	6414	6289	6289
q19	2817	985	558	558
q20	295	314	182	182
q21	2907	2201	1959	1959
q22	358	331	294	294
Total cold run time: 104147 ms
Total hot run time: 32571 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6322	6201	6292	6201
q2	226	323	226	226
q3	2285	2675	2375	2375
q4	1468	1871	1369	1369
q5	4348	4766	4906	4766
q6	199	182	147	147
q7	2104	1951	1854	1854
q8	2685	2840	2702	2702
q9	7266	7327	7281	7281
q10	3101	3366	2746	2746
q11	564	516	506	506
q12	681	794	607	607
q13	3349	3767	3177	3177
q14	282	296	299	296
q15	576	513	515	513
q16	644	680	659	659
q17	1279	1751	1255	1255
q18	7745	7569	7363	7363
q19	889	1166	1114	1114
q20	2030	2055	1976	1976
q21	5677	5277	4921	4921
q22	642	607	592	592
Total cold run time: 54362 ms
Total hot run time: 52646 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.90% (10122/26020)
Line Coverage: 29.90% (85538/286078)
Region Coverage: 29.03% (43721/150628)
Branch Coverage: 25.55% (22299/87278)
Coverage Report: http://coverage.selectdb-in.cc/coverage/c2155d614df3dc1047c9feabbcfc8dfbb013ea9b_c2155d614df3dc1047c9feabbcfc8dfbb013ea9b/report/index.html

@zhangstar333 zhangstar333 force-pushed the support_range_between branch from c2155d6 to 3cd5904 Compare January 2, 2025 07:19
@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17584	6382	6110	6110
q2	2057	316	176	176
q3	10552	1253	743	743
q4	10180	861	433	433
q5	7496	2229	1999	1999
q6	214	183	146	146
q7	903	753	590	590
q8	9214	1395	1218	1218
q9	5128	4949	4969	4949
q10	6791	2325	1875	1875
q11	505	284	261	261
q12	346	360	220	220
q13	17791	3553	2944	2944
q14	237	237	229	229
q15	572	503	495	495
q16	649	616	589	589
q17	589	867	334	334
q18	7164	6463	6418	6418
q19	1786	989	549	549
q20	314	309	184	184
q21	2914	2196	1985	1985
q22	375	332	310	310
Total cold run time: 103361 ms
Total hot run time: 32757 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6346	6307	6298	6298
q2	240	319	239	239
q3	2264	2669	2348	2348
q4	1386	1877	1338	1338
q5	4351	4792	4841	4792
q6	180	179	144	144
q7	2110	1997	1812	1812
q8	2632	2836	2702	2702
q9	7270	7309	7263	7263
q10	3078	3390	2815	2815
q11	573	517	492	492
q12	652	718	594	594
q13	3372	3783	3164	3164
q14	303	292	290	290
q15	571	508	516	508
q16	641	695	636	636
q17	1237	1746	1295	1295
q18	7728	7459	7307	7307
q19	857	894	1193	894
q20	1994	2068	2013	2013
q21	5726	5227	5032	5032
q22	624	621	597	597
Total cold run time: 54135 ms
Total hot run time: 52573 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.91% (10129/26033)
Line Coverage: 29.94% (85703/286288)
Region Coverage: 29.04% (43740/150613)
Branch Coverage: 25.57% (22321/87298)
Coverage Report: http://coverage.selectdb-in.cc/coverage/3cd59049dbfd5ca4d4b8699261d8f68c25c23092_3cd59049dbfd5ca4d4b8699261d8f68c25c23092/report/index.html

@zhangstar333
Copy link
Contributor Author

run buildall

2 similar comments
@zhangstar333
Copy link
Contributor Author

run buildall

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17653	6184	6068	6068
q2	2803	1074	935	935
q3	9961	1259	739	739
q4	10218	869	447	447
q5	7506	2196	2000	2000
q6	215	180	151	151
q7	910	755	618	618
q8	9241	1398	1187	1187
q9	5305	4883	4947	4883
q10	6761	2307	1879	1879
q11	475	287	265	265
q12	348	365	222	222
q13	17765	3676	3188	3188
q14	241	237	208	208
q15	558	502	507	502
q16	637	623	595	595
q17	939	1207	689	689
q18	7162	6500	6359	6359
q19	1245	992	573	573
q20	322	335	189	189
q21	3007	2161	1975	1975
q22	358	332	309	309
Total cold run time: 103630 ms
Total hot run time: 33981 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6303	6280	6348	6280
q2	1019	1115	1026	1026
q3	2266	2602	2302	2302
q4	1471	1824	1400	1400
q5	4389	4997	5047	4997
q6	195	184	144	144
q7	2149	1914	1810	1810
q8	2594	2763	2721	2721
q9	7314	7299	7328	7299
q10	3026	3327	2852	2852
q11	576	529	516	516
q12	686	755	632	632
q13	3522	3881	3177	3177
q14	280	313	273	273
q15	565	517	521	517
q16	655	704	647	647
q17	1592	2113	1665	1665
q18	7901	7480	6988	6988
q19	823	1161	1043	1043
q20	1907	2009	1794	1794
q21	5621	4965	4812	4812
q22	656	582	567	567
Total cold run time: 55510 ms
Total hot run time: 53462 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 194699 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 b867c8ba15398a1adf96285e32374b5b0e9ffd98, data reload: false

query1	966	384	372	372
query2	6525	2261	2378	2261
query3	6709	218	214	214
query4	34079	24111	23395	23395
query5	4337	644	454	454
query6	291	195	194	194
query7	4629	511	308	308
query8	311	241	225	225
query9	9716	2636	2627	2627
query10	478	318	243	243
query11	18198	15414	15225	15225
query12	158	104	105	104
query13	1658	543	392	392
query14	9955	6893	7854	6893
query15	270	200	198	198
query16	8153	615	396	396
query17	1564	743	558	558
query18	2014	401	293	293
query19	218	176	148	148
query20	117	116	112	112
query21	203	128	105	105
query22	4222	4576	4155	4155
query23	34304	33812	34759	33812
query24	6509	2356	2253	2253
query25	480	468	412	412
query26	756	268	155	155
query27	1989	478	337	337
query28	5130	2425	2388	2388
query29	552	555	437	437
query30	233	188	154	154
query31	1051	924	783	783
query32	102	63	63	63
query33	505	346	296	296
query34	735	832	511	511
query35	835	816	753	753
query36	1024	1038	972	972
query37	127	94	84	84
query38	4299	4204	4216	4204
query39	1469	1433	1456	1433
query40	207	121	103	103
query41	46	47	48	47
query42	131	103	101	101
query43	515	511	487	487
query44	1371	800	797	797
query45	181	170	170	170
query46	868	1048	640	640
query47	3704	3684	3650	3650
query48	371	413	320	320
query49	769	486	398	398
query50	595	658	396	396
query51	7232	7196	7004	7004
query52	101	102	90	90
query53	250	269	198	198
query54	472	485	403	403
query55	80	81	87	81
query56	268	248	242	242
query57	3906	3860	3792	3792
query58	243	224	228	224
query59	2920	3252	3030	3030
query60	292	268	243	243
query61	113	108	109	108
query62	888	802	740	740
query63	234	203	199	199
query64	3820	1007	642	642
query65	3304	3224	3210	3210
query66	889	424	315	315
query67	16052	15856	15563	15563
query68	8006	736	520	520
query69	488	296	259	259
query70	1199	1212	1140	1140
query71	439	285	262	262
query72	6165	3840	3828	3828
query73	671	774	351	351
query74	10134	9404	8809	8809
query75	4060	3263	2678	2678
query76	3691	1206	783	783
query77	768	439	282	282
query78	10250	10101	9415	9415
query79	3723	840	578	578
query80	710	547	449	449
query81	479	277	231	231
query82	671	154	131	131
query83	202	172	145	145
query84	286	93	70	70
query85	780	356	314	314
query86	353	318	292	292
query87	4412	4408	4360	4360
query88	4449	2165	2145	2145
query89	426	349	304	304
query90	1905	192	185	185
query91	136	141	109	109
query92	70	61	64	61
query93	1628	890	541	541
query94	654	413	285	285
query95	343	264	263	263
query96	498	628	276	276
query97	2942	3050	2860	2860
query98	240	204	206	204
query99	1702	1586	1457	1457
Total cold run time: 297173 ms
Total hot run time: 194699 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.89% (10129/26043)
Line Coverage: 29.93% (85699/286297)
Region Coverage: 29.04% (43738/150607)
Branch Coverage: 25.58% (22326/87264)
Coverage Report: http://coverage.selectdb-in.cc/coverage/b867c8ba15398a1adf96285e32374b5b0e9ffd98_b867c8ba15398a1adf96285e32374b5b0e9ffd98/report/index.html

@doris-robot
Copy link

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

query1	0.04	0.03	0.04
query2	0.08	0.03	0.03
query3	0.24	0.07	0.08
query4	1.61	0.11	0.11
query5	0.41	0.41	0.40
query6	1.16	0.66	0.64
query7	0.02	0.01	0.01
query8	0.04	0.04	0.04
query9	0.59	0.49	0.50
query10	0.57	0.58	0.55
query11	0.14	0.10	0.10
query12	0.14	0.10	0.11
query13	0.61	0.62	0.60
query14	2.74	2.84	2.72
query15	0.91	0.82	0.84
query16	0.39	0.37	0.38
query17	1.08	1.06	1.05
query18	0.22	0.21	0.21
query19	1.88	1.79	2.02
query20	0.02	0.01	0.01
query21	15.36	0.91	0.57
query22	0.76	0.74	0.59
query23	15.39	1.45	0.59
query24	2.85	1.38	1.77
query25	0.19	0.08	0.18
query26	0.27	0.15	0.13
query27	0.05	0.05	0.06
query28	13.91	1.49	1.05
query29	12.61	3.96	3.27
query30	0.26	0.09	0.06
query31	2.82	0.60	0.38
query32	3.24	0.54	0.46
query33	3.07	3.10	3.16
query34	16.70	5.11	4.48
query35	4.51	4.45	4.46
query36	0.64	0.48	0.49
query37	0.09	0.07	0.06
query38	0.05	0.04	0.04
query39	0.03	0.03	0.02
query40	0.17	0.13	0.12
query41	0.07	0.03	0.02
query42	0.04	0.02	0.02
query43	0.04	0.04	0.03
Total cold run time: 106.01 s
Total hot run time: 31.57 s

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17597	6092	5991	5991
q2	2794	1057	920	920
q3	9980	1241	717	717
q4	10243	858	440	440
q5	8184	2171	2000	2000
q6	208	179	148	148
q7	881	770	597	597
q8	9234	1373	1149	1149
q9	5240	4841	4902	4841
q10	6755	2327	1871	1871
q11	481	289	249	249
q12	343	364	227	227
q13	17764	3687	3063	3063
q14	226	244	221	221
q15	572	511	487	487
q16	632	625	591	591
q17	904	1222	709	709
q18	7191	6766	6540	6540
q19	1569	976	558	558
q20	303	314	200	200
q21	2778	2175	1985	1985
q22	364	326	306	306
Total cold run time: 104243 ms
Total hot run time: 33810 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6222	6269	6242	6242
q2	1003	1076	1004	1004
q3	2221	2631	2294	2294
q4	1390	1818	1321	1321
q5	4346	4936	4973	4936
q6	179	177	139	139
q7	2083	1959	1881	1881
q8	2728	2830	2650	2650
q9	7336	7329	7340	7329
q10	3104	3276	2850	2850
q11	573	528	513	513
q12	661	798	612	612
q13	3534	3889	3255	3255
q14	290	298	269	269
q15	557	517	516	516
q16	657	686	657	657
q17	1575	2127	1626	1626
q18	7800	7606	7476	7476
q19	814	1146	1068	1068
q20	1999	2057	1937	1937
q21	5543	5167	4989	4989
q22	649	620	609	609
Total cold run time: 55264 ms
Total hot run time: 54173 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.89% (10128/26044)
Line Coverage: 29.92% (85685/286367)
Region Coverage: 29.02% (43723/150646)
Branch Coverage: 25.56% (22315/87288)
Coverage Report: http://coverage.selectdb-in.cc/coverage/5a2a5171b633d54ab198e8302c5e2099bae3b214_5a2a5171b633d54ab198e8302c5e2099bae3b214/report/index.html

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17569	6177	6015	6015
q2	2826	1064	916	916
q3	9957	1241	736	736
q4	10227	878	450	450
q5	7533	2183	1978	1978
q6	205	181	150	150
q7	916	756	611	611
q8	9233	1385	1148	1148
q9	5215	5004	4919	4919
q10	6747	2324	1892	1892
q11	488	288	261	261
q12	347	357	222	222
q13	17776	3617	3072	3072
q14	237	234	217	217
q15	564	510	512	510
q16	627	631	608	608
q17	913	1192	676	676
q18	7053	6468	6411	6411
q19	1314	965	557	557
q20	308	329	193	193
q21	2801	2196	1976	1976
q22	361	330	307	307
Total cold run time: 103217 ms
Total hot run time: 33825 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6249	6250	6240	6240
q2	988	1066	998	998
q3	2219	2603	2306	2306
q4	1483	1848	1390	1390
q5	4361	4903	5038	4903
q6	182	176	148	148
q7	2157	2001	1754	1754
q8	2625	2732	2645	2645
q9	7259	7244	7242	7242
q10	3051	3317	2851	2851
q11	603	509	496	496
q12	643	798	645	645
q13	3496	3874	3293	3293
q14	294	306	291	291
q15	575	509	503	503
q16	667	692	644	644
q17	1582	2088	1618	1618
q18	7872	7238	7019	7019
q19	789	1023	1099	1023
q20	1965	1971	1901	1901
q21	5398	5047	4785	4785
q22	613	617	557	557
Total cold run time: 55071 ms
Total hot run time: 53252 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 195996 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 dfd248e20f381d08d6e686d634cf39b386bf60a9, data reload: false

query1	960	386	361	361
query2	6522	2444	2383	2383
query3	6709	214	211	211
query4	33704	24161	23620	23620
query5	4408	642	470	470
query6	295	225	200	200
query7	4641	498	310	310
query8	311	248	237	237
query9	9252	2635	2634	2634
query10	471	315	255	255
query11	18098	15747	15185	15185
query12	178	115	107	107
query13	1666	553	425	425
query14	10855	7458	7483	7458
query15	271	202	194	194
query16	7939	613	466	466
query17	1573	768	576	576
query18	1987	387	292	292
query19	219	175	155	155
query20	118	114	111	111
query21	214	156	106	106
query22	4349	4466	4450	4450
query23	34581	33273	33949	33273
query24	6267	2301	2242	2242
query25	501	448	377	377
query26	1190	275	156	156
query27	2019	453	347	347
query28	5385	2398	2391	2391
query29	730	540	422	422
query30	233	181	145	145
query31	1005	899	820	820
query32	94	67	64	64
query33	502	342	306	306
query34	756	828	525	525
query35	787	839	734	734
query36	1032	1057	941	941
query37	122	103	77	77
query38	4157	4279	4262	4262
query39	1492	1452	1436	1436
query40	203	115	104	104
query41	48	46	44	44
query42	127	104	111	104
query43	524	533	502	502
query44	1282	831	817	817
query45	178	166	168	166
query46	856	1037	650	650
query47	3626	3669	3572	3572
query48	399	401	318	318
query49	798	487	398	398
query50	598	667	385	385
query51	7435	7321	7066	7066
query52	104	101	95	95
query53	242	269	203	203
query54	476	497	401	401
query55	86	78	78	78
query56	259	257	220	220
query57	3815	3765	3744	3744
query58	229	223	229	223
query59	3045	3144	3008	3008
query60	283	262	252	252
query61	114	112	112	112
query62	899	786	738	738
query63	230	209	201	201
query64	4638	1002	666	666
query65	3275	3187	3220	3187
query66	1066	420	362	362
query67	16000	15942	15734	15734
query68	8256	712	529	529
query69	463	305	253	253
query70	1213	1144	1117	1117
query71	465	282	270	270
query72	6235	3903	3886	3886
query73	644	733	361	361
query74	9745	9052	8950	8950
query75	4023	3143	2660	2660
query76	3703	1192	791	791
query77	771	372	268	268
query78	10293	10203	9631	9631
query79	3845	802	598	598
query80	718	521	449	449
query81	484	271	228	228
query82	593	148	126	126
query83	202	175	142	142
query84	281	90	70	70
query85	816	362	306	306
query86	357	314	288	288
query87	4689	4679	4325	4325
query88	4309	2177	2136	2136
query89	413	355	314	314
query90	1948	187	191	187
query91	139	139	112	112
query92	69	61	58	58
query93	1368	861	543	543
query94	669	399	298	298
query95	349	270	270	270
query96	476	606	280	280
query97	2855	2986	2840	2840
query98	231	197	200	197
query99	1710	1518	1439	1439
Total cold run time: 298760 ms
Total hot run time: 195996 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.89% (10129/26044)
Line Coverage: 29.92% (85689/286368)
Region Coverage: 29.03% (43728/150648)
Branch Coverage: 25.57% (22321/87290)
Coverage Report: http://coverage.selectdb-in.cc/coverage/dfd248e20f381d08d6e686d634cf39b386bf60a9_dfd248e20f381d08d6e686d634cf39b386bf60a9/report/index.html

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.06	0.04	0.03
query3	0.24	0.08	0.07
query4	1.59	0.11	0.11
query5	0.43	0.42	0.42
query6	1.14	0.66	0.66
query7	0.02	0.02	0.02
query8	0.04	0.03	0.03
query9	0.58	0.50	0.51
query10	0.56	0.58	0.54
query11	0.14	0.10	0.10
query12	0.13	0.11	0.11
query13	0.60	0.60	0.59
query14	2.83	2.82	2.75
query15	0.89	0.83	0.82
query16	0.38	0.38	0.39
query17	1.01	1.04	1.05
query18	0.22	0.22	0.21
query19	1.87	1.90	2.01
query20	0.02	0.01	0.01
query21	15.40	0.88	0.59
query22	0.77	0.71	0.70
query23	15.34	1.43	0.53
query24	3.26	1.91	1.05
query25	0.21	0.17	0.07
query26	0.24	0.15	0.13
query27	0.05	0.05	0.07
query28	13.76	1.49	1.04
query29	12.57	3.94	3.25
query30	0.24	0.08	0.06
query31	2.84	0.58	0.38
query32	3.22	0.54	0.45
query33	3.11	3.00	3.03
query34	16.82	5.12	4.48
query35	4.53	4.48	4.50
query36	0.83	0.47	0.48
query37	0.09	0.06	0.06
query38	0.04	0.03	0.03
query39	0.03	0.02	0.03
query40	0.17	0.13	0.13
query41	0.08	0.03	0.02
query42	0.04	0.02	0.02
query43	0.03	0.04	0.03
Total cold run time: 106.45 s
Total hot run time: 31.36 s

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17605	6208	6082	6082
q2	2791	1014	915	915
q3	9975	1212	790	790
q4	10215	871	431	431
q5	7648	2251	2005	2005
q6	203	180	151	151
q7	881	761	603	603
q8	9247	1379	1219	1219
q9	5310	4877	4916	4877
q10	6775	2272	1856	1856
q11	485	306	275	275
q12	356	359	222	222
q13	17779	3610	3053	3053
q14	237	252	206	206
q15	566	522	505	505
q16	623	610	580	580
q17	886	1194	666	666
q18	7012	6412	6460	6412
q19	2387	969	550	550
q20	292	316	188	188
q21	2797	2208	2006	2006
q22	367	338	307	307
Total cold run time: 104437 ms
Total hot run time: 33899 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6297	6207	6204	6204
q2	996	1092	1017	1017
q3	2272	2639	2307	2307
q4	1389	1801	1372	1372
q5	4333	4954	4875	4875
q6	181	182	142	142
q7	2095	1961	1834	1834
q8	2649	2791	2753	2753
q9	7296	7293	7310	7293
q10	3097	3269	2859	2859
q11	612	515	497	497
q12	714	752	623	623
q13	3494	3907	3313	3313
q14	301	304	278	278
q15	564	528	497	497
q16	651	689	670	670
q17	1586	2117	1608	1608
q18	7640	7584	7351	7351
q19	836	1180	1060	1060
q20	1978	2023	1899	1899
q21	5684	5259	5167	5167
q22	634	638	575	575
Total cold run time: 55299 ms
Total hot run time: 54194 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.88% (10127/26049)
Line Coverage: 29.92% (85695/286422)
Region Coverage: 29.01% (43714/150676)
Branch Coverage: 25.56% (22317/87310)
Coverage Report: http://coverage.selectdb-in.cc/coverage/cfd8dfb0126bb722a11de28058c3fad7ec0cdd45_cfd8dfb0126bb722a11de28058c3fad7ec0cdd45/report/index.html

@zhangstar333
Copy link
Contributor Author

run buildall

@zhangstar333 zhangstar333 force-pushed the support_range_between branch from 4dafaea to 3e57bb0 Compare January 15, 2025 03:30
@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 41.01% (10689/26062)
Line Coverage: 31.52% (90298/286462)
Region Coverage: 30.68% (46269/150789)
Branch Coverage: 26.85% (23449/87338)
Coverage Report: http://coverage.selectdb-in.cc/coverage/3e57bb0428df2cebbbacbb2e8e99bad8c7bf0f56_3e57bb0428df2cebbbacbb2e8e99bad8c7bf0f56/report/index.html

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17571	6129	6033	6033
q2	2047	304	173	173
q3	10484	1234	734	734
q4	10238	893	438	438
q5	8268	2194	1957	1957
q6	211	177	144	144
q7	899	758	595	595
q8	9257	1420	1194	1194
q9	5203	4867	4964	4867
q10	6758	2290	1858	1858
q11	474	283	251	251
q12	342	361	215	215
q13	17765	3642	3141	3141
q14	248	234	216	216
q15	573	510	519	510
q16	622	606	595	595
q17	576	856	322	322
q18	7227	6601	6448	6448
q19	2462	959	552	552
q20	306	311	187	187
q21	2929	2294	2012	2012
q22	375	334	301	301
Total cold run time: 104835 ms
Total hot run time: 32743 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6288	6240	6221	6221
q2	231	326	227	227
q3	2232	2653	2311	2311
q4	1436	1830	1412	1412
q5	4304	4774	4875	4774
q6	188	176	137	137
q7	2087	1980	1807	1807
q8	2636	2865	2707	2707
q9	7307	7324	7248	7248
q10	3083	3265	2727	2727
q11	595	521	528	521
q12	693	787	623	623
q13	3449	3933	3335	3335
q14	284	314	277	277
q15	570	526	519	519
q16	669	684	655	655
q17	1224	1729	1269	1269
q18	7872	7557	7473	7473
q19	827	1095	1121	1095
q20	2036	2026	1913	1913
q21	5603	5259	5158	5158
q22	616	621	572	572
Total cold run time: 54230 ms
Total hot run time: 52981 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 192889 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 3e57bb0428df2cebbbacbb2e8e99bad8c7bf0f56, data reload: false

query1	1299	959	926	926
query2	6342	2104	2118	2104
query3	10974	4469	4422	4422
query4	61546	29593	23182	23182
query5	5476	631	455	455
query6	418	187	171	171
query7	5620	504	294	294
query8	326	222	219	219
query9	8570	2682	2692	2682
query10	453	311	262	262
query11	17508	15148	15587	15148
query12	160	110	118	110
query13	1469	532	428	428
query14	11130	6731	7392	6731
query15	220	201	194	194
query16	6668	650	472	472
query17	1198	781	590	590
query18	1731	389	319	319
query19	220	176	159	159
query20	121	110	109	109
query21	224	135	111	111
query22	4729	4906	4429	4429
query23	34210	34980	33781	33781
query24	5458	2295	2289	2289
query25	465	461	410	410
query26	647	258	156	156
query27	1781	479	334	334
query28	4190	2490	2456	2456
query29	546	542	415	415
query30	211	183	154	154
query31	927	903	828	828
query32	73	60	60	60
query33	466	382	302	302
query34	737	872	517	517
query35	780	827	725	725
query36	997	1037	947	947
query37	118	95	73	73
query38	4449	4292	4260	4260
query39	1486	1436	1435	1435
query40	203	124	100	100
query41	53	55	56	55
query42	128	111	104	104
query43	524	538	497	497
query44	1315	852	823	823
query45	189	168	173	168
query46	882	1084	663	663
query47	1959	1930	1859	1859
query48	408	396	324	324
query49	736	507	395	395
query50	668	699	394	394
query51	4305	4252	4294	4252
query52	105	111	100	100
query53	235	256	184	184
query54	483	485	430	430
query55	80	77	83	77
query56	257	256	253	253
query57	1248	1224	1109	1109
query58	236	241	250	241
query59	3161	3385	3165	3165
query60	275	265	258	258
query61	116	117	116	116
query62	774	792	711	711
query63	221	186	188	186
query64	1300	1045	705	705
query65	3229	3158	3321	3158
query66	658	408	331	331
query67	16095	15683	15678	15678
query68	6204	769	527	527
query69	498	291	267	267
query70	1186	1155	1147	1147
query71	408	290	261	261
query72	5284	3896	3848	3848
query73	826	754	363	363
query74	10084	9064	9043	9043
query75	3244	3162	2770	2770
query76	3771	1173	772	772
query77	512	365	286	286
query78	10151	10095	9440	9440
query79	3130	785	611	611
query80	898	533	456	456
query81	508	275	241	241
query82	660	150	126	126
query83	194	176	151	151
query84	290	90	71	71
query85	778	349	312	312
query86	405	308	297	297
query87	4539	4389	4369	4369
query88	4611	2204	2174	2174
query89	392	318	286	286
query90	1580	186	188	186
query91	134	146	106	106
query92	71	59	54	54
query93	2862	884	526	526
query94	838	396	303	303
query95	339	254	256	254
query96	495	620	285	285
query97	2832	2916	2792	2792
query98	224	203	198	198
query99	1421	1536	1372	1372
Total cold run time: 313155 ms
Total hot run time: 192889 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.09	0.06	0.05
query3	0.23	0.06	0.05
query4	1.65	0.08	0.08
query5	0.41	0.41	0.40
query6	1.17	0.66	0.65
query7	0.02	0.01	0.01
query8	0.05	0.04	0.04
query9	0.54	0.50	0.50
query10	0.55	0.57	0.55
query11	0.18	0.12	0.12
query12	0.17	0.13	0.13
query13	0.61	0.60	0.60
query14	2.72	2.89	2.83
query15	0.90	0.84	0.82
query16	0.38	0.37	0.37
query17	1.07	1.06	1.08
query18	0.18	0.19	0.20
query19	1.84	1.79	1.95
query20	0.02	0.01	0.01
query21	15.36	0.96	0.66
query22	0.77	0.78	0.71
query23	15.11	1.51	0.66
query24	2.19	0.36	0.23
query25	0.15	0.09	0.09
query26	0.28	0.18	0.18
query27	0.08	0.08	0.08
query28	13.46	1.78	1.12
query29	12.62	4.13	3.39
query30	0.24	0.08	0.05
query31	2.86	0.59	0.40
query32	3.22	0.57	0.48
query33	2.99	3.00	3.03
query34	16.53	5.18	4.55
query35	4.62	4.58	4.54
query36	0.79	0.49	0.47
query37	0.19	0.15	0.16
query38	0.16	0.15	0.15
query39	0.06	0.04	0.04
query40	0.16	0.13	0.13
query41	0.09	0.05	0.05
query42	0.07	0.05	0.05
query43	0.05	0.04	0.05
Total cold run time: 104.87 s
Total hot run time: 31.5 s

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17689	5479	5362	5362
q2	2051	304	168	168
q3	10524	1316	745	745
q4	10235	981	522	522
q5	7658	2438	2196	2196
q6	191	163	136	136
q7	911	758	618	618
q8	9240	1374	1141	1141
q9	5243	4977	4897	4897
q10	6838	2306	1877	1877
q11	478	292	251	251
q12	335	360	217	217
q13	17775	3665	3067	3067
q14	234	234	213	213
q15	518	484	468	468
q16	625	614	577	577
q17	578	890	331	331
q18	7201	6579	6467	6467
q19	4352	971	557	557
q20	297	300	184	184
q21	2821	2137	1919	1919
q22	379	331	306	306
Total cold run time: 106173 ms
Total hot run time: 32219 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5696	5507	5506	5506
q2	229	323	225	225
q3	2270	2673	2332	2332
q4	1333	1839	1375	1375
q5	4312	4746	4829	4746
q6	173	161	132	132
q7	2058	2024	1840	1840
q8	2649	2791	2671	2671
q9	7285	7212	7186	7186
q10	3004	3275	2799	2799
q11	576	499	483	483
q12	664	761	633	633
q13	3454	3949	3192	3192
q14	273	294	268	268
q15	516	458	471	458
q16	666	714	648	648
q17	1264	1751	1262	1262
q18	7682	7344	7247	7247
q19	795	1104	1082	1082
q20	2023	1994	1860	1860
q21	5704	5287	4767	4767
q22	590	583	533	533
Total cold run time: 53216 ms
Total hot run time: 51245 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 41.52% (10822/26062)
Line Coverage: 31.92% (91432/286461)
Region Coverage: 31.08% (46868/150781)
Branch Coverage: 27.17% (23726/87332)
Coverage Report: http://coverage.selectdb-in.cc/coverage/3e57bb0428df2cebbbacbb2e8e99bad8c7bf0f56_3e57bb0428df2cebbbacbb2e8e99bad8c7bf0f56/report/index.html

@doris-robot
Copy link

TPC-DS: Total hot run time: 183616 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 3e57bb0428df2cebbbacbb2e8e99bad8c7bf0f56, data reload: false

query1	968	405	366	366
query2	6535	1955	2008	1955
query3	6794	209	211	209
query4	33674	23915	22977	22977
query5	4347	626	492	492
query6	293	198	185	185
query7	4596	488	307	307
query8	308	249	227	227
query9	9580	2585	2571	2571
query10	475	299	254	254
query11	17990	15357	15046	15046
query12	164	104	103	103
query13	1667	515	377	377
query14	10513	6283	6770	6283
query15	231	192	185	185
query16	8045	613	427	427
query17	1593	716	566	566
query18	2094	391	301	301
query19	215	175	153	153
query20	119	119	110	110
query21	206	127	102	102
query22	4118	4330	4246	4246
query23	34619	33549	32930	32930
query24	6621	2357	2247	2247
query25	485	491	385	385
query26	1060	229	151	151
query27	2056	460	322	322
query28	5130	2413	2393	2393
query29	538	502	409	409
query30	238	184	164	164
query31	1003	891	811	811
query32	90	63	63	63
query33	526	356	296	296
query34	743	820	498	498
query35	788	820	740	740
query36	996	1015	903	903
query37	122	93	80	80
query38	4155	4178	4025	4025
query39	1475	1419	1418	1418
query40	203	115	101	101
query41	54	50	62	50
query42	120	103	101	101
query43	513	514	468	468
query44	1327	787	804	787
query45	195	174	166	166
query46	846	1024	634	634
query47	1798	1832	1772	1772
query48	372	401	326	326
query49	763	495	412	412
query50	622	649	394	394
query51	4182	4129	4100	4100
query52	105	98	93	93
query53	228	273	185	185
query54	485	489	413	413
query55	81	78	81	78
query56	278	273	248	248
query57	1147	1157	1084	1084
query58	281	241	244	241
query59	3101	2953	2923	2923
query60	274	268	253	253
query61	127	119	126	119
query62	763	714	632	632
query63	220	194	187	187
query64	4481	1057	709	709
query65	3216	3148	3131	3131
query66	816	419	307	307
query67	15876	15606	15421	15421
query68	3146	824	546	546
query69	425	299	260	260
query70	1193	1140	1057	1057
query71	355	286	268	268
query72	5881	3866	3773	3773
query73	640	736	350	350
query74	9997	9203	8635	8635
query75	3164	3160	2676	2676
query76	3101	1112	762	762
query77	462	371	275	275
query78	10154	10080	9325	9325
query79	2283	801	608	608
query80	730	573	476	476
query81	496	290	243	243
query82	238	149	193	149
query83	171	177	154	154
query84	242	89	73	73
query85	762	349	364	349
query86	326	319	286	286
query87	4479	4344	4342	4342
query88	3474	2155	2134	2134
query89	384	332	284	284
query90	1745	191	192	191
query91	141	143	108	108
query92	57	59	54	54
query93	978	881	527	527
query94	594	392	293	293
query95	331	269	253	253
query96	503	600	286	286
query97	2771	2862	2771	2771
query98	217	195	205	195
query99	1298	1395	1301	1301
Total cold run time: 278382 ms
Total hot run time: 183616 ms

@doris-robot
Copy link

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

query1	0.03	0.04	0.03
query2	0.07	0.04	0.04
query3	0.26	0.07	0.07
query4	1.60	0.11	0.11
query5	0.43	0.42	0.42
query6	1.17	0.65	0.65
query7	0.03	0.02	0.02
query8	0.04	0.03	0.03
query9	0.59	0.51	0.50
query10	0.56	0.54	0.56
query11	0.15	0.10	0.11
query12	0.15	0.12	0.11
query13	0.62	0.59	0.61
query14	2.71	2.71	2.74
query15	0.90	0.83	0.83
query16	0.37	0.37	0.38
query17	1.01	1.07	1.05
query18	0.22	0.21	0.20
query19	1.92	1.85	2.00
query20	0.02	0.01	0.01
query21	15.36	0.99	0.57
query22	0.75	0.85	0.80
query23	15.18	1.38	0.53
query24	2.79	1.60	1.43
query25	0.16	0.20	0.19
query26	0.36	0.14	0.14
query27	0.09	0.04	0.04
query28	13.46	0.97	0.42
query29	12.56	3.93	3.29
query30	0.25	0.10	0.06
query31	2.83	0.60	0.38
query32	3.22	0.54	0.45
query33	2.99	3.05	3.04
query34	16.66	5.14	4.45
query35	4.55	4.46	4.48
query36	0.65	0.49	0.49
query37	0.09	0.06	0.06
query38	0.04	0.04	0.03
query39	0.04	0.02	0.03
query40	0.17	0.14	0.13
query41	0.08	0.03	0.02
query42	0.04	0.02	0.02
query43	0.04	0.03	0.02
Total cold run time: 105.21 s
Total hot run time: 31.27 s

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17650	5686	5630	5630
q2	2058	301	164	164
q3	10410	1317	745	745
q4	10230	1009	539	539
q5	7554	2450	2217	2217
q6	203	170	137	137
q7	926	765	613	613
q8	9250	1403	1207	1207
q9	5403	4928	4939	4928
q10	6864	2346	1903	1903
q11	475	283	280	280
q12	350	369	221	221
q13	17768	3783	3091	3091
q14	230	232	210	210
q15	511	479	471	471
q16	623	626	596	596
q17	589	880	339	339
q18	7101	6887	6357	6357
q19	1223	976	575	575
q20	326	351	200	200
q21	3162	2252	2078	2078
q22	385	339	318	318
Total cold run time: 103291 ms
Total hot run time: 32819 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5671	5613	5711	5613
q2	246	330	234	234
q3	2292	2690	2312	2312
q4	1462	1868	1452	1452
q5	4358	4775	4874	4775
q6	181	167	131	131
q7	2093	1951	1820	1820
q8	2654	2880	2705	2705
q9	7279	7280	7189	7189
q10	3118	3318	2859	2859
q11	611	522	506	506
q12	663	766	617	617
q13	3470	3863	3351	3351
q14	284	287	267	267
q15	522	469	483	469
q16	671	695	646	646
q17	1265	1767	1259	1259
q18	7594	7486	7329	7329
q19	884	1195	1170	1170
q20	2064	2043	1886	1886
q21	6210	5449	5243	5243
q22	673	606	615	606
Total cold run time: 54265 ms
Total hot run time: 52439 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 185511 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 0c3a4d6ad28da7514b4cbd351a6026114b40f0b4, data reload: false

query1	931	401	397	397
query2	6474	2079	1975	1975
query3	6783	219	219	219
query4	32940	23241	22971	22971
query5	4268	622	468	468
query6	272	212	186	186
query7	4588	489	303	303
query8	274	227	215	215
query9	9359	2589	2589	2589
query10	472	311	266	266
query11	17771	15381	14928	14928
query12	152	108	112	108
query13	1679	545	406	406
query14	9175	6996	6951	6951
query15	224	191	196	191
query16	7927	574	498	498
query17	1585	726	559	559
query18	2092	429	311	311
query19	226	183	183	183
query20	132	120	118	118
query21	206	131	102	102
query22	4331	4319	4365	4319
query23	34307	33644	32925	32925
query24	6593	2364	2333	2333
query25	496	488	376	376
query26	1218	276	159	159
query27	2171	470	332	332
query28	5840	2501	2440	2440
query29	751	562	429	429
query30	249	197	162	162
query31	1096	888	820	820
query32	75	64	56	56
query33	519	375	292	292
query34	764	869	514	514
query35	829	838	762	762
query36	1016	1024	981	981
query37	122	98	81	81
query38	4368	4335	4370	4335
query39	1439	1402	1513	1402
query40	202	108	99	99
query41	50	49	48	48
query42	116	104	99	99
query43	498	520	469	469
query44	1342	800	812	800
query45	182	172	166	166
query46	869	1036	644	644
query47	1786	1854	1799	1799
query48	376	398	303	303
query49	758	481	398	398
query50	625	661	396	396
query51	4232	4198	4130	4130
query52	105	111	99	99
query53	241	260	191	191
query54	514	494	436	436
query55	97	81	80	80
query56	267	277	252	252
query57	1193	1148	1102	1102
query58	268	239	248	239
query59	3109	3113	2900	2900
query60	286	288	275	275
query61	149	178	116	116
query62	789	720	652	652
query63	218	189	186	186
query64	4137	982	642	642
query65	3295	3189	3185	3185
query66	1069	401	302	302
query67	16155	15640	15500	15500
query68	5177	830	528	528
query69	481	310	252	252
query70	1207	1133	1092	1092
query71	370	288	260	260
query72	5909	3879	4032	3879
query73	646	755	357	357
query74	10351	9021	9027	9021
query75	3152	3170	2654	2654
query76	3171	1171	786	786
query77	495	381	283	283
query78	9998	9884	9309	9309
query79	3148	798	593	593
query80	1515	532	462	462
query81	559	271	233	233
query82	583	150	123	123
query83	181	182	153	153
query84	248	99	73	73
query85	774	369	319	319
query86	453	318	296	296
query87	4431	4454	4308	4308
query88	5053	2155	2116	2116
query89	395	357	321	321
query90	1847	195	187	187
query91	140	138	113	113
query92	66	63	53	53
query93	2730	898	541	541
query94	748	399	306	306
query95	336	262	260	260
query96	490	615	282	282
query97	2762	2848	2746	2746
query98	237	202	199	199
query99	1283	1405	1236	1236
Total cold run time: 285578 ms
Total hot run time: 185511 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.07	0.03	0.04
query3	0.24	0.07	0.06
query4	1.62	0.10	0.11
query5	0.43	0.43	0.40
query6	1.13	0.67	0.64
query7	0.02	0.02	0.02
query8	0.04	0.03	0.03
query9	0.58	0.50	0.49
query10	0.56	0.57	0.54
query11	0.14	0.11	0.10
query12	0.14	0.11	0.11
query13	0.61	0.62	0.60
query14	2.69	2.74	2.73
query15	0.89	0.83	0.82
query16	0.39	0.35	0.39
query17	1.05	1.07	1.00
query18	0.21	0.20	0.21
query19	1.96	2.03	1.81
query20	0.02	0.00	0.01
query21	15.35	0.95	0.60
query22	0.75	0.79	0.66
query23	15.32	1.56	0.55
query24	4.26	1.54	1.01
query25	0.28	0.12	0.20
query26	0.26	0.15	0.14
query27	0.06	0.05	0.04
query28	13.54	0.92	0.44
query29	12.58	3.88	3.29
query30	0.25	0.09	0.08
query31	2.82	0.60	0.38
query32	3.23	0.56	0.46
query33	2.96	3.06	2.98
query34	16.73	5.24	4.57
query35	4.55	4.59	4.57
query36	0.65	0.49	0.49
query37	0.10	0.06	0.06
query38	0.04	0.04	0.04
query39	0.03	0.02	0.03
query40	0.17	0.12	0.12
query41	0.07	0.02	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 106.89 s
Total hot run time: 30.75 s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 41.52% (10822/26064)
Line Coverage: 31.92% (91439/286494)
Region Coverage: 31.07% (46855/150795)
Branch Coverage: 27.17% (23727/87342)
Coverage Report: http://coverage.selectdb-in.cc/coverage/0c3a4d6ad28da7514b4cbd351a6026114b40f0b4_0c3a4d6ad28da7514b4cbd351a6026114b40f0b4/report/index.html

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 21, 2025
Copy link
Contributor

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

Copy link
Contributor

PR approved by anyone and no changes requested.

_average_size = 0;
}

bool is_high_cardinality() const { return _count > 16 && _average_size < 8; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better avoid use magic number

@HappenLee HappenLee merged commit 0b9e3be into apache:master Jan 23, 2025
25 of 28 checks passed
zhangstar333 added a commit that referenced this pull request Jan 26, 2025
### What problem does this PR solve?
Problem Summary:
the _num_rows_returned have been add twice
introduced by #46181,
and only in master.
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. reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants