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

[Feature](literal)Support TimeLiteral #47319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

koarz
Copy link
Contributor

@koarz koarz commented Jan 22, 2025

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?

@koarz
Copy link
Contributor Author

koarz commented Jan 22, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17624	5579	5363	5363
q2	2069	321	192	192
q3	10455	1241	747	747
q4	10214	981	522	522
q5	7612	2382	2170	2170
q6	197	171	136	136
q7	906	753	602	602
q8	9250	1384	1164	1164
q9	5159	4945	4927	4927
q10	6820	2332	1900	1900
q11	483	281	260	260
q12	338	367	209	209
q13	17778	3681	3045	3045
q14	239	231	214	214
q15	524	482	459	459
q16	620	619	572	572
q17	561	871	322	322
q18	7075	6617	6448	6448
q19	1633	965	540	540
q20	312	321	190	190
q21	2979	2168	2011	2011
q22	372	343	307	307
Total cold run time: 103220 ms
Total hot run time: 32300 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5528	5626	5537	5537
q2	242	334	235	235
q3	2255	2694	2351	2351
q4	1422	1862	1367	1367
q5	4334	4772	4627	4627
q6	164	162	127	127
q7	2087	1960	1860	1860
q8	2665	2811	2680	2680
q9	7384	7233	7293	7233
q10	3022	3289	2773	2773
q11	572	508	484	484
q12	647	755	557	557
q13	3514	3928	3257	3257
q14	281	302	280	280
q15	522	471	485	471
q16	666	696	650	650
q17	1228	1747	1315	1315
q18	7818	7623	7391	7391
q19	803	1020	1117	1020
q20	2032	2044	1939	1939
q21	5770	5164	4956	4956
q22	609	612	576	576
Total cold run time: 53565 ms
Total hot run time: 51686 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 195154 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 1f40fb9cf6fb7f759cc4bc0668f6ff76f2e61429, data reload: false

query1	1311	973	940	940
query2	6323	2065	2012	2012
query3	10959	4618	4472	4472
query4	60748	31352	23004	23004
query5	5605	623	478	478
query6	439	202	188	188
query7	5567	518	310	310
query8	323	237	221	221
query9	8217	2669	2700	2669
query10	452	311	262	262
query11	17492	15475	15648	15475
query12	163	108	108	108
query13	1440	549	423	423
query14	11075	7350	6697	6697
query15	214	201	197	197
query16	7214	685	492	492
query17	1109	736	573	573
query18	1853	407	310	310
query19	200	190	160	160
query20	116	124	117	117
query21	212	123	104	104
query22	4541	4758	4439	4439
query23	34136	33321	33494	33321
query24	5568	2358	2375	2358
query25	513	517	440	440
query26	648	295	165	165
query27	1612	516	336	336
query28	4230	2506	2482	2482
query29	560	587	421	421
query30	220	189	156	156
query31	937	925	874	874
query32	67	58	58	58
query33	429	361	308	308
query34	771	862	529	529
query35	831	826	756	756
query36	1016	1059	964	964
query37	130	115	80	80
query38	4391	4356	4341	4341
query39	1484	1448	1446	1446
query40	220	123	105	105
query41	52	49	54	49
query42	118	106	99	99
query43	518	540	502	502
query44	1364	837	836	836
query45	182	179	170	170
query46	923	1079	670	670
query47	1872	1939	1822	1822
query48	401	425	356	356
query49	713	523	400	400
query50	716	700	407	407
query51	7141	7110	7057	7057
query52	106	100	95	95
query53	238	262	195	195
query54	501	519	441	441
query55	85	77	78	77
query56	278	286	277	277
query57	1278	1217	1101	1101
query58	240	237	248	237
query59	3188	3237	2979	2979
query60	285	268	252	252
query61	121	119	118	118
query62	732	708	640	640
query63	229	196	192	192
query64	1320	1025	670	670
query65	3283	3150	3158	3150
query66	762	391	305	305
query67	15885	15598	15461	15461
query68	4130	857	533	533
query69	490	301	264	264
query70	1206	1138	1159	1138
query71	412	356	264	264
query72	6028	3881	3968	3881
query73	700	778	378	378
query74	10656	8840	8915	8840
query75	3259	3162	2676	2676
query76	3273	1202	810	810
query77	489	366	285	285
query78	10158	10281	9400	9400
query79	2749	828	612	612
query80	1682	549	530	530
query81	564	276	233	233
query82	347	149	127	127
query83	267	173	149	149
query84	288	105	74	74
query85	783	345	305	305
query86	420	325	288	288
query87	4368	4456	4463	4456
query88	3357	2246	2184	2184
query89	411	322	295	295
query90	1542	199	196	196
query91	135	142	117	117
query92	63	59	55	55
query93	1821	876	540	540
query94	697	386	296	296
query95	346	275	258	258
query96	489	633	285	285
query97	2819	2883	2781	2781
query98	231	197	199	197
query99	1290	1364	1358	1358
Total cold run time: 311337 ms
Total hot run time: 195154 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.09	0.04	0.05
query3	0.23	0.06	0.05
query4	1.64	0.08	0.08
query5	0.42	0.39	0.39
query6	1.16	0.67	0.67
query7	0.02	0.02	0.02
query8	0.05	0.04	0.05
query9	0.56	0.49	0.49
query10	0.56	0.56	0.56
query11	0.16	0.12	0.11
query12	0.16	0.13	0.14
query13	0.60	0.60	0.60
query14	2.82	2.83	2.75
query15	0.91	0.83	0.84
query16	0.37	0.38	0.38
query17	1.08	1.06	1.05
query18	0.19	0.18	0.20
query19	1.92	1.88	2.07
query20	0.02	0.01	0.01
query21	15.36	0.98	0.65
query22	0.79	0.79	0.71
query23	14.97	1.43	0.69
query24	2.27	0.39	0.22
query25	0.14	0.08	0.08
query26	0.28	0.19	0.17
query27	0.08	0.08	0.08
query28	13.46	1.24	0.56
query29	12.69	4.08	3.39
query30	0.24	0.08	0.06
query31	2.83	0.61	0.39
query32	3.22	0.59	0.47
query33	3.00	3.00	3.03
query34	16.63	5.19	4.57
query35	4.57	4.55	4.56
query36	0.82	0.47	0.48
query37	0.20	0.17	0.16
query38	0.16	0.16	0.15
query39	0.05	0.04	0.04
query40	0.17	0.13	0.13
query41	0.10	0.06	0.06
query42	0.07	0.05	0.06
query43	0.05	0.05	0.04
Total cold run time: 105.14 s
Total hot run time: 30.98 s

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