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

[chore](planner) change decimal literal toSql as plainString (#41809) #42381

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

morrySnow
Copy link
Contributor

pick from master #41809

for example, 0 with decimal(38,4) will return 0.0000

…41809)

pick from master apache#41809

for example, 0 with decimal(38,4) will return 0.0000
@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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morrySnow
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added area/nereids area/planner Issues or PRs related to the query planner labels Oct 24, 2024
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18121	4369	4297	4297
q2	2060	149	148	148
q3	10440	1858	1939	1858
q4	10312	1238	1317	1238
q5	8576	3910	3949	3910
q6	239	123	122	122
q7	2040	1620	1602	1602
q8	9274	2730	2704	2704
q9	10565	10183	9940	9940
q10	8646	3538	3508	3508
q11	427	239	253	239
q12	475	293	301	293
q13	18336	3999	4014	3999
q14	356	324	325	324
q15	503	471	468	468
q16	542	450	466	450
q17	1143	949	935	935
q18	7367	6727	6904	6727
q19	1657	1573	1515	1515
q20	528	323	302	302
q21	4464	4097	4056	4056
q22	484	386	381	381
Total cold run time: 116555 ms
Total hot run time: 49016 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4301	4308	4296	4296
q2	320	219	233	219
q3	4203	4155	4124	4124
q4	2741	2743	2737	2737
q5	7251	7181	7148	7148
q6	235	123	121	121
q7	3255	2838	2905	2838
q8	4404	4451	4511	4451
q9	14229	13985	13869	13869
q10	4235	4251	4272	4251
q11	742	675	674	674
q12	1036	836	882	836
q13	7038	3740	3796	3740
q14	461	451	443	443
q15	497	460	461	460
q16	658	598	601	598
q17	3897	3846	3868	3846
q18	8862	8743	8824	8743
q19	1725	1707	1638	1638
q20	2382	2124	2066	2066
q21	8544	8399	8440	8399
q22	1042	957	937	937
Total cold run time: 82058 ms
Total hot run time: 76434 ms

@doris-robot
Copy link

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

query1	926	422	386	386
query2	6557	2303	2026	2026
query3	6926	202	202	202
query4	23256	21671	21415	21415
query5	19741	6515	6564	6515
query6	285	225	232	225
query7	4327	301	313	301
query8	249	255	234	234
query9	3083	2650	2580	2580
query10	471	309	320	309
query11	15582	15298	15231	15231
query12	129	82	74	74
query13	1045	451	439	439
query14	17285	13366	13321	13321
query15	375	221	228	221
query16	6494	286	260	260
query17	1754	926	917	917
query18	894	315	333	315
query19	208	151	148	148
query20	102	101	101	101
query21	188	97	101	97
query22	5097	5043	5024	5024
query23	34345	33554	33659	33554
query24	7893	6341	6396	6341
query25	509	424	421	421
query26	1269	167	162	162
query27	2401	295	291	291
query28	6064	2244	2236	2236
query29	2787	2794	2841	2794
query30	240	172	165	165
query31	962	729	771	729
query32	74	61	68	61
query33	456	265	251	251
query34	852	463	485	463
query35	1154	901	935	901
query36	1377	1520	1092	1092
query37	178	62	63	62
query38	3057	2921	2877	2877
query39	1378	1327	1331	1327
query40	307	97	93	93
query41	41	38	38	38
query42	91	90	97	90
query43	627	586	585	585
query44	1172	720	731	720
query45	244	235	236	235
query46	1243	964	985	964
query47	1832	1767	1675	1675
query48	515	408	413	408
query49	647	373	383	373
query50	880	610	647	610
query51	4735	4652	4649	4649
query52	93	94	84	84
query53	234	191	195	191
query54	2678	2460	2502	2460
query55	98	85	83	83
query56	226	200	209	200
query57	1303	1133	1092	1092
query58	220	216	216	216
query59	3397	3378	3393	3378
query60	209	210	201	201
query61	95	93	96	93
query62	807	477	481	477
query63	211	182	175	175
query64	3514	1591	1517	1517
query65	3658	3558	3573	3558
query66	768	445	398	398
query67	16245	15632	16085	15632
query68	9539	668	637	637
query69	485	273	266	266
query70	1622	1396	1700	1396
query71	398	307	306	306
query72	7039	4910	4886	4886
query73	758	313	313	313
query74	6319	5849	5854	5849
query75	5235	3786	3694	3694
query76	5369	1128	1230	1128
query77	928	273	270	270
query78	12633	11883	11963	11883
query79	7753	629	649	629
query80	1552	393	379	379
query81	493	233	233	233
query82	1648	96	94	94
query83	173	132	140	132
query84	260	69	70	69
query85	906	325	322	322
query86	340	320	320	320
query87	3176	3077	3040	3040
query88	4688	2316	2306	2306
query89	418	289	279	279
query90	1944	212	219	212
query91	173	125	145	125
query92	59	56	50	50
query93	6369	559	579	559
query94	720	218	201	201
query95	2042	2061	2052	2052
query96	656	334	326	326
query97	6628	6439	6390	6390
query98	226	208	201	201
query99	2825	842	919	842
Total cold run time: 319434 ms
Total hot run time: 213652 ms

@doris-robot
Copy link

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

query1	0.02	0.02	0.03
query2	0.07	0.02	0.02
query3	0.25	0.05	0.05
query4	1.78	0.07	0.06
query5	0.54	0.53	0.52
query6	1.27	0.63	0.62
query7	0.02	0.00	0.01
query8	0.03	0.03	0.02
query9	0.52	0.49	0.49
query10	0.54	0.54	0.54
query11	0.11	0.08	0.08
query12	0.12	0.09	0.09
query13	0.62	0.62	0.62
query14	0.78	0.78	0.81
query15	0.78	0.76	0.76
query16	0.37	0.39	0.37
query17	0.98	0.98	1.02
query18	0.22	0.27	0.26
query19	1.88	1.88	1.83
query20	0.01	0.02	0.01
query21	15.46	0.56	0.56
query22	1.92	2.34	1.66
query23	17.21	0.95	0.84
query24	3.86	1.46	1.24
query25	0.34	0.10	0.05
query26	0.60	0.16	0.16
query27	0.05	0.03	0.04
query28	8.61	0.77	0.73
query29	12.62	2.32	2.29
query30	0.52	0.53	0.58
query31	2.82	0.39	0.37
query32	3.39	0.50	0.50
query33	3.14	3.07	3.03
query34	15.28	4.80	4.84
query35	4.86	4.87	4.88
query36	1.07	1.01	1.01
query37	0.06	0.04	0.05
query38	0.04	0.02	0.02
query39	0.02	0.02	0.01
query40	0.16	0.13	0.14
query41	0.07	0.01	0.02
query42	0.02	0.01	0.01
query43	0.02	0.02	0.02
Total cold run time: 103.05 s
Total hot run time: 31.03 s

@doris-robot
Copy link

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

Load test result on commit f29e7ef67c46f149516faf6a686606a11df38c54 with default session variables
Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 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:       22.0 seconds inserted 10000000 Rows, about 454K ops/s

@morrySnow morrySnow merged commit 5318ade into apache:branch-2.0 Oct 24, 2024
22 of 24 checks passed
@morrySnow morrySnow deleted the 2.0_41809 branch October 24, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nereids area/planner Issues or PRs related to the query planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants