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

[fix](function) fix error result in time_to_sec and timediff (#30248) #30657

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

Mryange
Copy link
Contributor

@Mryange Mryange commented Jan 31, 2024

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

@Mryange
Copy link
Contributor Author

Mryange commented Jan 31, 2024

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17649	4382	4308	4308
q2	2058	152	144	144
q3	10327	1855	1872	1855
q4	10374	1269	1346	1269
q5	8741	3951	3915	3915
q6	224	120	124	120
q7	2025	1592	1613	1592
q8	9319	2695	2703	2695
q9	10659	10347	10393	10347
q10	8605	3485	3461	3461
q11	410	241	231	231
q12	457	296	306	296
q13	18347	3988	3996	3988
q14	348	321	316	316
q15	499	457	451	451
q16	690	584	594	584
q17	1124	942	944	942
q18	7171	6995	6891	6891
q19	1656	1531	1471	1471
q20	526	318	280	280
q21	4499	4293	4047	4047
q22	495	394	387	387
Total cold run time: 116203 ms
Total hot run time: 49590 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4281	4290	4285	4285
q2	315	223	217	217
q3	4191	4196	4212	4196
q4	2749	2760	2750	2750
q5	7253	7131	7170	7131
q6	232	117	115	115
q7	3232	2866	2841	2841
q8	4336	4453	4444	4444
q9	17076	16874	16886	16874
q10	4251	4240	4273	4240
q11	773	710	681	681
q12	1021	869	864	864
q13	6913	3741	3754	3741
q14	445	418	418	418
q15	498	463	466	463
q16	745	713	725	713
q17	3802	3871	3890	3871
q18	8916	8866	8730	8730
q19	1684	1692	1671	1671
q20	2396	2171	2092	2092
q21	8542	8537	8446	8446
q22	1066	970	927	927
Total cold run time: 84717 ms
Total hot run time: 79710 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 240758 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 327ce58a57e9c05237d5414692f2f8e55e12dd4c, data reload: false

query1	917	393	375	375
query2	6512	2201	2306	2201
query3	6915	204	197	197
query4	20188	18115	18021	18021
query5	19722	6294	6241	6241
query6	283	211	224	211
query7	4145	298	299	298
query8	250	258	236	236
query9	3133	2727	2640	2640
query10	421	287	306	287
query11	11347	10587	10638	10587
query12	123	71	75	71
query13	5647	655	642	642
query14	17508	13256	13401	13256
query15	387	235	234	234
query16	6442	256	265	256
query17	3196	864	859	859
query18	2239	406	391	391
query19	203	147	148	147
query20	73	79	74	74
query21	192	98	92	92
query22	5155	5010	4998	4998
query23	32411	31958	31916	31916
query24	6935	6643	6480	6480
query25	504	422	417	417
query26	520	165	160	160
query27	1875	300	300	300
query28	6144	2305	2243	2243
query29	2831	2813	2848	2813
query30	235	163	158	158
query31	902	743	732	732
query32	70	59	57	57
query33	396	257	243	243
query34	841	466	483	466
query35	1110	831	904	831
query36	1526	1535	1645	1535
query37	89	60	59	59
query38	3105	2916	2923	2916
query39	1394	1322	1315	1315
query40	208	89	94	89
query41	34	31	31	31
query42	99	89	94	89
query43	627	617	642	617
query44	1124	746	740	740
query45	240	226	223	223
query46	1234	994	982	982
query47	1926	1787	1931	1787
query48	968	684	658	658
query49	630	362	352	352
query50	864	566	626	566
query51	5623	5485	5512	5485
query52	87	81	79	79
query53	439	322	317	317
query54	2424	2234	2228	2228
query55	80	76	77	76
query56	204	182	194	182
query57	1149	1143	1071	1071
query58	208	191	195	191
query59	3438	3467	3037	3037
query60	206	187	189	187
query61	86	86	83	83
query62	771	484	502	484
query63	474	325	329	325
query64	1986	1316	1303	1303
query65	3689	3646	3643	3643
query66	822	363	351	351
query67	16008	15127	16910	15127
query68	8146	663	707	663
query69	557	333	338	333
query70	1775	1881	1571	1571
query71	389	305	306	305
query72	4528	3356	3324	3324
query73	716	326	331	326
query74	6304	5978	5970	5970
query75	4349	3549	3539	3539
query76	4773	1192	1223	1192
query77	603	249	250	249
query78	30986	51581	50305	50305
query79	14656	668	662	662
query80	4138	388	387	387
query81	577	234	225	225
query82	1022	103	97	97
query83	328	138	132	132
query84	262	69	69	69
query85	1881	285	280	280
query86	453	393	365	365
query87	3256	3023	3006	3006
query88	6806	2391	2385	2385
query89	383	285	292	285
query90	2502	208	205	205
query91	160	125	118	118
query92	66	52	51	51
query93	4519	601	543	543
query94	1666	199	203	199
query95	1124	1073	1082	1073
query96	662	332	339	332
query97	6396	6287	6488	6287
query98	190	189	177	177
query99	3667	871	845	845
Total cold run time: 339374 ms
Total hot run time: 240758 ms

@doris-robot
Copy link

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

query1	0.02	0.02	0.01
query2	0.06	0.02	0.02
query3	0.25	0.04	0.04
query4	1.84	0.08	0.07
query5	0.54	0.52	0.51
query6	1.26	0.64	0.63
query7	0.01	0.01	0.01
query8	0.03	0.02	0.02
query9	0.51	0.47	0.47
query10	0.52	0.52	0.54
query11	0.11	0.09	0.09
query12	0.11	0.10	0.09
query13	0.62	0.61	0.61
query14	0.80	0.78	0.79
query15	0.77	0.78	0.76
query16	0.38	0.37	0.36
query17	1.00	1.01	1.00
query18	0.23	0.25	0.24
query19	1.88	1.82	1.82
query20	0.01	0.01	0.01
query21	15.48	0.56	0.56
query22	1.73	2.29	1.53
query23	17.26	1.05	0.94
query24	7.74	0.76	0.60
query25	1.65	0.11	0.11
query26	0.37	0.14	0.13
query27	0.11	0.11	0.11
query28	5.97	0.77	0.72
query29	12.68	2.41	2.23
query30	0.55	0.52	0.52
query31	2.83	0.38	0.39
query32	3.39	0.50	0.49
query33	3.11	3.06	3.08
query34	15.23	4.81	4.80
query35	4.85	4.83	4.88
query36	1.07	1.02	1.02
query37	0.06	0.05	0.04
query38	0.03	0.02	0.02
query39	0.02	0.02	0.01
query40	0.16	0.15	0.14
query41	0.07	0.01	0.02
query42	0.02	0.01	0.02
query43	0.02	0.02	0.01
Total cold run time: 105.35 s
Total hot run time: 30.33 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit 327ce58a57e9c05237d5414692f2f8e55e12dd4c with default session variables
Stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       21.1 seconds inserted 10000000 Rows, about 473K ops/s

@yiguolei yiguolei merged commit 2132ee8 into apache:branch-2.0 Feb 4, 2024
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants