Skip to content

branch-3.0: [function](date) Support date trunc function #49540#49646

Closed
github-actions[bot] wants to merge 1 commit intobranch-3.0from
auto-pick-49540-branch-3.0
Closed

branch-3.0: [function](date) Support date trunc function #49540#49646
github-actions[bot] wants to merge 1 commit intobranch-3.0from
auto-pick-49540-branch-3.0

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #49540

@github-actions github-actions bot requested a review from dataroaring as a code owner March 28, 2025 13:23
@Thearas
Copy link
Contributor

Thearas commented Mar 28, 2025

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?

@dataroaring dataroaring reopened this Mar 28, 2025
@Thearas
Copy link
Contributor

Thearas commented Mar 28, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17585	6766	6609	6609
q2	2051	181	166	166
q3	10583	1091	1175	1091
q4	10539	726	692	692
q5	7755	2806	2832	2806
q6	223	136	138	136
q7	980	634	605	605
q8	9369	1901	2064	1901
q9	6668	6361	6407	6361
q10	7070	2250	2269	2250
q11	475	273	274	273
q12	412	224	222	222
q13	17798	2984	3009	2984
q14	238	207	218	207
q15	506	466	479	466
q16	678	594	590	590
q17	980	544	564	544
q18	7224	6696	6649	6649
q19	1404	1111	1038	1038
q20	469	205	206	205
q21	4090	3211	3171	3171
q22	1142	976	1012	976
Total cold run time: 108239 ms
Total hot run time: 39942 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6604	6561	6525	6525
q2	335	243	229	229
q3	2892	2735	2867	2735
q4	2017	1764	1820	1764
q5	5710	5741	5744	5741
q6	208	135	131	131
q7	2212	1811	1828	1811
q8	3350	3555	3483	3483
q9	8776	8918	8835	8835
q10	3546	3499	3513	3499
q11	583	487	491	487
q12	807	600	600	600
q13	8410	3211	3142	3142
q14	297	275	269	269
q15	511	475	481	475
q16	675	662	650	650
q17	1862	1630	1602	1602
q18	8270	7722	7713	7713
q19	1678	1576	1539	1539
q20	2041	1892	1883	1883
q21	5567	5252	5405	5252
q22	1160	1072	1008	1008
Total cold run time: 67511 ms
Total hot run time: 59373 ms

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 100.00% (22/22) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 38.88% (10180/26183)
Line Coverage 30.32% (86930/286675)
Region Coverage 29.34% (44637/152131)
Branch Coverage 25.86% (22702/87782)

@doris-robot
Copy link

TPC-DS: Total hot run time: 197788 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 9e6d087571c5ab2f6e4fcb30ecd25624796df2bb, data reload: false

query1	1271	914	896	896
query2	6246	2014	2083	2014
query3	10945	4163	4535	4163
query4	61444	34353	23921	23921
query5	5206	490	471	471
query6	315	194	182	182
query7	4899	311	315	311
query8	273	213	217	213
query9	6461	2597	2571	2571
query10	429	282	250	250
query11	15938	15191	15938	15191
query12	152	110	110	110
query13	1020	453	465	453
query14	10553	6954	7765	6954
query15	206	182	183	182
query16	7138	496	495	495
query17	1201	596	602	596
query18	1898	337	328	328
query19	211	179	163	163
query20	125	117	111	111
query21	209	103	107	103
query22	4721	4532	4467	4467
query23	35033	34141	34003	34003
query24	6305	2956	2909	2909
query25	559	438	431	431
query26	654	181	174	174
query27	1981	392	365	365
query28	4054	2496	2463	2463
query29	730	496	460	460
query30	267	176	167	167
query31	1065	826	821	821
query32	70	61	86	61
query33	434	296	300	296
query34	952	519	533	519
query35	849	786	734	734
query36	1098	971	986	971
query37	119	67	75	67
query38	4103	4045	3930	3930
query39	1529	1506	1493	1493
query40	207	101	96	96
query41	48	48	48	48
query42	115	102	105	102
query43	531	495	492	492
query44	1182	827	835	827
query45	194	171	174	171
query46	1168	758	750	750
query47	2066	1917	1933	1917
query48	479	386	402	386
query49	759	417	410	410
query50	883	437	440	437
query51	7321	7240	7291	7240
query52	105	90	90	90
query53	264	192	187	187
query54	585	470	473	470
query55	80	81	82	81
query56	269	245	263	245
query57	1278	1220	1150	1150
query58	231	218	230	218
query59	3255	3059	2962	2962
query60	282	257	266	257
query61	111	142	104	104
query62	774	691	685	685
query63	222	189	189	189
query64	1385	713	655	655
query65	3283	3229	3239	3229
query66	700	298	304	298
query67	16060	15524	15454	15454
query68	3640	623	604	604
query69	433	293	282	282
query70	1195	1130	1132	1130
query71	334	265	259	259
query72	6381	3816	4094	3816
query73	771	348	368	348
query74	10081	9231	9115	9115
query75	3355	2636	2647	2636
query76	1732	1065	1059	1059
query77	492	278	290	278
query78	10644	9605	9549	9549
query79	1729	597	610	597
query80	901	438	423	423
query81	526	241	243	241
query82	1246	94	90	90
query83	246	151	150	150
query84	286	97	88	88
query85	894	327	300	300
query86	327	297	303	297
query87	4543	4490	4262	4262
query88	3826	2407	2364	2364
query89	421	286	295	286
query90	1967	191	189	189
query91	180	151	155	151
query92	67	49	51	49
query93	2169	572	562	562
query94	747	303	302	302
query95	366	263	270	263
query96	623	283	282	282
query97	3306	3195	3167	3167
query98	231	213	198	198
query99	1575	1292	1307	1292
Total cold run time: 309734 ms
Total hot run time: 197788 ms

@doris-robot
Copy link

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

query1	0.03	0.04	0.03
query2	0.08	0.03	0.03
query3	0.23	0.07	0.06
query4	1.63	0.10	0.10
query5	0.52	0.53	0.51
query6	1.14	0.72	0.73
query7	0.03	0.02	0.02
query8	0.04	0.03	0.03
query9	0.58	0.49	0.50
query10	0.55	0.56	0.56
query11	0.14	0.10	0.11
query12	0.14	0.11	0.12
query13	0.60	0.59	0.59
query14	2.72	2.84	2.76
query15	0.89	0.82	0.82
query16	0.38	0.39	0.37
query17	1.03	1.06	1.05
query18	0.24	0.22	0.22
query19	1.97	1.86	2.04
query20	0.01	0.01	0.01
query21	15.37	0.61	0.58
query22	3.19	2.00	2.11
query23	17.14	0.93	0.71
query24	2.95	0.58	1.55
query25	0.38	0.20	0.05
query26	0.31	0.14	0.13
query27	0.03	0.03	0.04
query28	10.39	0.48	0.46
query29	12.57	3.25	3.20
query30	0.24	0.06	0.06
query31	2.87	0.40	0.39
query32	3.23	0.46	0.46
query33	2.99	3.02	3.04
query34	16.99	4.59	4.50
query35	4.56	4.56	4.62
query36	0.67	0.48	0.48
query37	0.09	0.07	0.06
query38	0.04	0.03	0.03
query39	0.04	0.02	0.02
query40	0.16	0.13	0.13
query41	0.07	0.02	0.02
query42	0.03	0.02	0.02
query43	0.03	0.04	0.03
Total cold run time: 107.29 s
Total hot run time: 31.96 s

@Gabriel39 Gabriel39 closed this Mar 29, 2025
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.

4 participants