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](Nereids) fix fold constant by be return type mismatched #39723

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

LiBinfeng-01
Copy link
Collaborator

when using fold constant by be, the return type of substring('123456', 1, 3) would changed to be text, which we want it to be 3

@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.

@LiBinfeng-01
Copy link
Collaborator Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17982	4553	4407	4407
q2	2931	186	178	178
q3	11694	1180	1088	1088
q4	10471	739	784	739
q5	7828	2941	2852	2852
q6	228	138	140	138
q7	981	625	598	598
q8	9321	2084	2054	2054
q9	7009	6500	6540	6500
q10	6998	2196	2221	2196
q11	468	242	248	242
q12	401	226	222	222
q13	17950	3032	3010	3010
q14	279	238	236	236
q15	520	489	488	488
q16	493	388	391	388
q17	989	671	703	671
q18	7300	6894	6909	6894
q19	1427	1017	1023	1017
q20	676	329	342	329
q21	3945	3069	3188	3069
q22	1119	1012	1009	1009
Total cold run time: 111010 ms
Total hot run time: 38325 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4563	4319	4274	4274
q2	388	282	265	265
q3	2888	2651	2683	2651
q4	1891	1657	1619	1619
q5	5402	5379	5375	5375
q6	217	132	129	129
q7	2082	1730	1735	1730
q8	3159	3354	3337	3337
q9	8398	8528	8442	8442
q10	3455	3179	3203	3179
q11	602	514	496	496
q12	793	618	624	618
q13	14199	3062	3075	3062
q14	311	270	279	270
q15	507	470	483	470
q16	474	429	419	419
q17	1781	1476	1499	1476
q18	7767	7629	7505	7505
q19	1677	1661	1490	1490
q20	2070	1804	1854	1804
q21	5457	5108	5161	5108
q22	1132	1043	1061	1043
Total cold run time: 69213 ms
Total hot run time: 54762 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 186767 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 137723ba209e66f2f59257c70623943e16828686, data reload: false

query1	907	368	355	355
query2	6456	1915	1932	1915
query3	6653	210	219	210
query4	34319	23171	23245	23171
query5	4184	507	499	499
query6	252	166	164	164
query7	4575	298	288	288
query8	258	219	205	205
query9	8755	2470	2485	2470
query10	424	265	264	264
query11	15699	15020	15039	15020
query12	156	103	99	99
query13	1623	381	365	365
query14	10009	7325	6912	6912
query15	272	165	173	165
query16	8109	453	464	453
query17	1570	558	561	558
query18	2129	288	285	285
query19	267	141	146	141
query20	119	110	107	107
query21	216	101	96	96
query22	4499	4041	4239	4041
query23	34197	33707	33488	33488
query24	11125	2943	2914	2914
query25	652	405	406	405
query26	1335	159	163	159
query27	2803	280	278	278
query28	7445	2040	2012	2012
query29	850	408	412	408
query30	304	153	153	153
query31	991	743	744	743
query32	102	54	61	54
query33	760	297	300	297
query34	964	470	488	470
query35	846	738	727	727
query36	1061	933	943	933
query37	146	90	82	82
query38	3970	3854	3849	3849
query39	1440	1396	1387	1387
query40	265	119	116	116
query41	49	45	45	45
query42	114	99	102	99
query43	490	452	486	452
query44	1286	746	758	746
query45	201	173	167	167
query46	1110	752	765	752
query47	1875	1776	1821	1776
query48	387	307	302	302
query49	1085	434	422	422
query50	821	418	420	418
query51	7336	6977	7045	6977
query52	99	89	88	88
query53	252	185	184	184
query54	876	463	455	455
query55	80	75	80	75
query56	270	263	245	245
query57	1253	1101	1065	1065
query58	249	221	236	221
query59	2861	2750	2765	2750
query60	289	266	288	266
query61	120	101	98	98
query62	841	644	671	644
query63	217	189	188	188
query64	6410	2255	1740	1740
query65	3243	3203	3159	3159
query66	1376	362	369	362
query67	15451	15261	15496	15261
query68	3547	578	591	578
query69	390	277	285	277
query70	1199	1111	1111	1111
query71	334	279	272	272
query72	6198	2308	2071	2071
query73	759	328	332	328
query74	9140	8816	8745	8745
query75	3416	2709	2696	2696
query76	1847	986	959	959
query77	449	314	315	314
query78	9597	8929	9273	8929
query79	1049	554	547	547
query80	699	510	494	494
query81	454	229	232	229
query82	227	137	135	135
query83	172	150	155	150
query84	220	91	86	86
query85	724	341	272	272
query86	312	266	301	266
query87	4411	4307	4253	4253
query88	2968	2382	2362	2362
query89	367	293	296	293
query90	1854	202	206	202
query91	129	104	105	104
query92	63	52	51	51
query93	1039	554	543	543
query94	817	301	299	299
query95	364	268	262	262
query96	593	274	277	274
query97	3230	3030	3090	3030
query98	222	205	200	200
query99	1463	1220	1257	1220
Total cold run time: 287601 ms
Total hot run time: 186767 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.07	0.04	0.03
query3	0.22	0.05	0.06
query4	1.66	0.09	0.09
query5	0.51	0.51	0.51
query6	1.13	0.73	0.72
query7	0.02	0.02	0.01
query8	0.06	0.05	0.05
query9	0.57	0.49	0.48
query10	0.55	0.54	0.54
query11	0.15	0.12	0.12
query12	0.15	0.13	0.12
query13	0.62	0.59	0.58
query14	0.76	0.79	0.78
query15	0.88	0.83	0.82
query16	0.37	0.38	0.38
query17	1.04	0.94	1.07
query18	0.21	0.21	0.20
query19	1.96	1.83	1.87
query20	0.01	0.01	0.02
query21	15.40	0.68	0.67
query22	4.48	7.14	1.43
query23	18.27	1.47	1.29
query24	2.06	0.24	0.23
query25	0.15	0.08	0.08
query26	0.27	0.17	0.18
query27	0.08	0.08	0.08
query28	13.28	1.02	1.00
query29	12.60	3.44	3.43
query30	0.24	0.06	0.06
query31	2.89	0.40	0.39
query32	3.27	0.47	0.47
query33	2.97	3.02	3.03
query34	16.88	4.35	4.39
query35	4.41	4.49	4.46
query36	0.67	0.48	0.48
query37	0.18	0.16	0.15
query38	0.15	0.14	0.15
query39	0.05	0.04	0.04
query40	0.16	0.12	0.13
query41	0.10	0.05	0.05
query42	0.06	0.05	0.06
query43	0.04	0.04	0.04
Total cold run time: 109.65 s
Total hot run time: 30.5 s

englefly
englefly previously approved these changes Aug 27, 2024
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 27, 2024
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.

@@ -176,7 +176,11 @@ private static Expression replace(
if (newChild != child) {
hasNewChildren = true;
}
newChildren.add(newChild);
if (newChild.getDataType() != child.getDataType()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should use equals

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Sep 12, 2024
@LiBinfeng-01
Copy link
Collaborator Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18049	7452	7357	7357
q2	2428	195	210	195
q3	10930	1433	1401	1401
q4	10146	1009	1024	1009
q5	7733	3211	3163	3163
q6	243	159	155	155
q7	1065	643	630	630
q8	9477	2041	2038	2038
q9	6872	6325	6369	6325
q10	7031	2551	2503	2503
q11	443	257	261	257
q12	418	233	229	229
q13	17762	3050	3029	3029
q14	287	273	256	256
q15	584	531	542	531
q16	520	431	428	428
q17	988	956	951	951
q18	7743	6845	6851	6845
q19	1396	1252	1235	1235
q20	620	336	333	333
q21	3934	3585	3598	3585
q22	1099	1013	1034	1013
Total cold run time: 109768 ms
Total hot run time: 43468 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7188	7166	7727	7166
q2	345	239	238	238
q3	2973	2923	2927	2923
q4	1961	1955	1981	1955
q5	5514	5461	5427	5427
q6	233	149	146	146
q7	2065	1710	1673	1673
q8	3260	3399	3328	3328
q9	8485	8452	8400	8400
q10	3412	3460	3450	3450
q11	578	456	467	456
q12	816	565	575	565
q13	6152	3107	3050	3050
q14	300	269	268	268
q15	575	532	521	521
q16	514	449	444	444
q17	1787	1720	1743	1720
q18	8045	7631	7541	7541
q19	1737	1714	1698	1698
q20	2050	1824	1855	1824
q21	5560	5378	5467	5378
q22	1110	1022	993	993
Total cold run time: 64660 ms
Total hot run time: 59164 ms

@doris-robot
Copy link

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

query1	939	380	385	380
query2	6504	1808	1808	1808
query3	6663	214	224	214
query4	25656	24102	24031	24031
query5	4883	540	540	540
query6	268	175	168	168
query7	4594	306	315	306
query8	307	228	212	212
query9	8496	2609	2583	2583
query10	465	283	281	281
query11	16091	15520	15723	15520
query12	172	104	101	101
query13	1702	401	387	387
query14	10957	7201	6744	6744
query15	216	180	180	180
query16	7476	498	490	490
query17	1409	589	576	576
query18	1973	301	297	297
query19	198	150	148	148
query20	120	116	116	116
query21	213	108	106	106
query22	4679	4444	4529	4444
query23	34524	33646	33726	33646
query24	10163	3206	3149	3149
query25	676	408	425	408
query26	1563	156	163	156
query27	2854	284	283	283
query28	6848	2132	2109	2109
query29	1033	435	439	435
query30	304	163	165	163
query31	992	769	816	769
query32	104	60	61	60
query33	737	318	308	308
query34	908	477	487	477
query35	880	759	745	745
query36	1051	933	915	915
query37	167	86	86	86
query38	4122	3911	3880	3880
query39	1463	1414	1449	1414
query40	293	120	119	119
query41	48	49	46	46
query42	123	100	101	100
query43	491	461	455	455
query44	1247	809	788	788
query45	200	174	174	174
query46	1120	842	819	819
query47	1915	1788	1819	1788
query48	373	289	286	286
query49	1209	471	470	470
query50	910	433	447	433
query51	7240	6905	6882	6882
query52	107	89	91	89
query53	264	196	184	184
query54	792	470	481	470
query55	82	77	78	77
query56	301	281	284	281
query57	1227	1113	1064	1064
query58	256	247	263	247
query59	2905	2801	2584	2584
query60	305	295	292	292
query61	130	126	128	126
query62	927	674	669	669
query63	240	196	192	192
query64	5366	704	670	670
query65	3282	3168	3178	3168
query66	1381	298	303	298
query67	15894	15544	15787	15544
query68	3225	879	852	852
query69	441	327	324	324
query70	1155	1171	1117	1117
query71	358	341	348	341
query72	6074	3407	3385	3385
query73	592	580	585	580
query74	9176	9042	9233	9042
query75	3115	3013	3004	3004
query76	1884	850	859	850
query77	480	404	414	404
query78	9465	9335	9510	9335
query79	930	896	879	879
query80	868	841	815	815
query81	439	262	263	262
query82	264	258	266	258
query83	196	187	208	187
query84	232	107	107	107
query85	700	425	405	405
query86	317	302	310	302
query87	4255	4297	4614	4297
query88	4130	4068	4053	4053
query89	373	371	381	371
query90	1362	321	311	311
query91	124	125	124	124
query92	78	75	75	75
query93	1059	1051	1060	1051
query94	618	392	392	392
query95	461	423	424	423
query96	473	471	473	471
query97	3157	3131	3188	3131
query98	228	228	229	228
query99	1533	1376	1323	1323
Total cold run time: 278760 ms
Total hot run time: 195649 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.04
query2	0.07	0.04	0.04
query3	0.23	0.05	0.05
query4	1.68	0.06	0.06
query5	0.51	0.50	0.50
query6	1.13	0.73	0.73
query7	0.02	0.02	0.01
query8	0.06	0.05	0.05
query9	0.58	0.54	0.51
query10	0.58	0.57	0.56
query11	0.15	0.12	0.12
query12	0.14	0.13	0.13
query13	0.63	0.61	0.60
query14	1.47	1.48	1.45
query15	0.90	0.87	0.89
query16	0.36	0.35	0.36
query17	1.04	1.02	1.04
query18	0.22	0.21	0.20
query19	1.90	1.81	1.79
query20	0.01	0.01	0.01
query21	15.41	0.68	0.67
query22	4.16	8.12	1.17
query23	17.78	1.26	1.30
query24	2.27	0.22	0.22
query25	0.19	0.08	0.08
query26	0.30	0.18	0.18
query27	0.07	0.08	0.08
query28	13.17	1.13	1.09
query29	12.54	3.28	3.30
query30	0.24	0.05	0.06
query31	2.86	0.42	0.42
query32	3.22	0.50	0.51
query33	3.03	3.08	3.04
query34	15.45	4.33	4.34
query35	4.39	4.35	4.38
query36	0.67	0.49	0.51
query37	0.19	0.16	0.16
query38	0.16	0.15	0.14
query39	0.04	0.03	0.04
query40	0.16	0.13	0.13
query41	0.10	0.04	0.05
query42	0.05	0.04	0.04
query43	0.04	0.04	0.04
Total cold run time: 108.21 s
Total hot run time: 30.88 s

@LiBinfeng-01
Copy link
Collaborator Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17917	7374	7307	7307
q2	2053	155	163	155
q3	11155	1185	1197	1185
q4	10554	784	732	732
q5	7745	3064	3098	3064
q6	236	151	155	151
q7	1006	618	607	607
q8	9574	2035	2028	2028
q9	6857	6426	6466	6426
q10	7005	2300	2333	2300
q11	445	255	259	255
q12	415	221	223	221
q13	17999	3222	3178	3178
q14	388	248	248	248
q15	590	537	537	537
q16	989	605	600	600
q17	1102	818	836	818
q18	8849	6699	6731	6699
q19	1481	1002	1015	1002
q20	603	297	281	281
q21	3985	3097	3215	3097
q22	1095	1013	1019	1013
Total cold run time: 112043 ms
Total hot run time: 41904 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7244	7225	7276	7225
q2	341	232	236	232
q3	3027	3014	2908	2908
q4	2055	1797	1757	1757
q5	5674	5555	5666	5555
q6	230	146	149	146
q7	2205	1824	1820	1820
q8	3260	3432	3388	3388
q9	8884	8881	8790	8790
q10	3418	3474	3470	3470
q11	580	497	506	497
q12	849	620	635	620
q13	14011	3146	3193	3146
q14	307	292	275	275
q15	590	525	520	520
q16	712	662	668	662
q17	1829	1619	1588	1588
q18	8187	7781	7661	7661
q19	1718	1585	1515	1515
q20	2120	1857	1863	1857
q21	5590	5212	5364	5212
q22	1133	1099	1051	1051
Total cold run time: 73964 ms
Total hot run time: 59895 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 199436 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 5b9da22ed9a44c545d656551ffe5009cfb3ebc10, data reload: false

query1	1315	875	864	864
query2	6430	2044	2024	2024
query3	10776	3900	3860	3860
query4	64150	28807	23559	23559
query5	5065	462	470	462
query6	407	171	167	167
query7	5447	294	292	292
query8	304	216	220	216
query9	8185	2667	2662	2662
query10	439	284	292	284
query11	17132	15118	15708	15118
query12	165	100	112	100
query13	1442	416	421	416
query14	10343	7254	7640	7254
query15	200	194	177	177
query16	6684	499	494	494
query17	1154	612	570	570
query18	1484	323	320	320
query19	231	149	152	149
query20	127	114	120	114
query21	206	102	109	102
query22	4788	4718	4844	4718
query23	34780	34589	34401	34401
query24	5979	2850	2878	2850
query25	491	392	382	382
query26	619	162	156	156
query27	1604	281	288	281
query28	4336	2430	2410	2410
query29	640	414	427	414
query30	236	154	158	154
query31	942	749	798	749
query32	70	49	51	49
query33	402	281	281	281
query34	890	510	475	475
query35	855	711	725	711
query36	1046	915	932	915
query37	148	82	79	79
query38	4004	3933	3965	3933
query39	1463	1409	1396	1396
query40	203	91	92	91
query41	46	45	45	45
query42	116	92	95	92
query43	522	483	479	479
query44	1139	799	781	781
query45	195	184	168	168
query46	1122	740	734	734
query47	1928	1794	1820	1794
query48	477	353	360	353
query49	654	385	392	385
query50	841	397	400	397
query51	7164	6751	7002	6751
query52	97	84	83	83
query53	247	176	180	176
query54	553	453	441	441
query55	76	76	76	76
query56	280	263	245	245
query57	1191	1106	1077	1077
query58	210	247	242	242
query59	3107	2832	2808	2808
query60	295	266	257	257
query61	101	99	100	99
query62	746	648	658	648
query63	222	181	179	179
query64	1301	681	616	616
query65	3260	3187	3182	3182
query66	677	293	297	293
query67	15824	15693	15728	15693
query68	1190	551	557	551
query69	427	285	293	285
query70	1211	1133	1073	1073
query71	305	266	272	266
query72	5071	3999	4106	3999
query73	752	323	321	321
query74	9222	8940	9018	8940
query75	3337	2680	2685	2680
query76	1371	922	962	922
query77	478	302	295	295
query78	10055	9508	9361	9361
query79	1263	880	868	868
query80	865	634	580	580
query81	500	254	251	251
query82	1271	235	235	235
query83	232	151	152	151
query84	289	104	110	104
query85	752	408	361	361
query86	352	325	297	297
query87	4397	4364	4417	4364
query88	4500	4093	4102	4093
query89	381	357	361	357
query90	1797	317	312	312
query91	160	160	162	160
query92	77	72	74	72
query93	948	895	894	894
query94	704	383	382	382
query95	449	411	412	411
query96	491	490	489	489
query97	3149	3108	3136	3108
query98	243	232	225	225
query99	1465	1305	1286	1286
Total cold run time: 305277 ms
Total hot run time: 199436 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.06	0.03	0.02
query3	0.23	0.06	0.06
query4	1.65	0.10	0.11
query5	0.51	0.52	0.51
query6	1.13	0.72	0.72
query7	0.02	0.02	0.01
query8	0.03	0.03	0.04
query9	0.54	0.50	0.50
query10	0.54	0.56	0.55
query11	0.14	0.11	0.10
query12	0.14	0.11	0.11
query13	0.60	0.59	0.60
query14	2.98	2.99	3.06
query15	0.91	0.83	0.81
query16	0.39	0.39	0.39
query17	1.06	1.06	1.05
query18	0.20	0.19	0.19
query19	1.96	1.90	1.93
query20	0.01	0.02	0.01
query21	15.36	0.59	0.60
query22	2.99	1.75	1.89
query23	17.48	0.83	0.79
query24	2.89	1.35	0.48
query25	0.17	0.11	0.18
query26	0.37	0.14	0.13
query27	0.05	0.06	0.04
query28	11.02	1.09	1.06
query29	12.59	3.28	3.29
query30	0.24	0.06	0.06
query31	2.87	0.38	0.37
query32	3.30	0.47	0.46
query33	3.00	3.00	3.03
query34	16.88	4.36	4.38
query35	4.37	4.44	4.40
query36	0.65	0.50	0.51
query37	0.08	0.06	0.06
query38	0.05	0.03	0.04
query39	0.03	0.03	0.02
query40	0.17	0.12	0.12
query41	0.07	0.02	0.02
query42	0.03	0.02	0.02
query43	0.04	0.03	0.04
Total cold run time: 107.85 s
Total hot run time: 32.36 s

@LiBinfeng-01
Copy link
Collaborator Author

run p0

@LiBinfeng-01
Copy link
Collaborator Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17737	7450	7349	7349
q2	2538	159	153	153
q3	11129	1186	1181	1181
q4	10910	718	777	718
q5	7834	3217	3170	3170
q6	239	153	150	150
q7	1029	622	604	604
q8	9795	2128	2060	2060
q9	6925	6434	6454	6434
q10	7008	2270	2323	2270
q11	448	258	256	256
q12	420	219	214	214
q13	17784	2981	2958	2958
q14	238	219	221	219
q15	565	543	527	527
q16	665	634	601	601
q17	984	878	851	851
q18	7342	6748	6674	6674
q19	1394	1015	1110	1015
q20	586	287	292	287
q21	4027	3323	3439	3323
q22	1112	1014	1039	1014
Total cold run time: 110709 ms
Total hot run time: 42028 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7488	7250	7260	7250
q2	326	239	226	226
q3	2893	2742	2732	2732
q4	1994	1706	1703	1703
q5	5392	5403	5415	5403
q6	231	144	142	142
q7	2136	1708	1697	1697
q8	3183	3345	3357	3345
q9	8465	8433	8413	8413
q10	3382	3367	3334	3334
q11	561	463	497	463
q12	793	615	581	581
q13	7300	3011	3012	3011
q14	305	264	254	254
q15	564	518	505	505
q16	714	666	666	666
q17	1794	1565	1543	1543
q18	7786	7242	7492	7242
q19	1688	1565	1452	1452
q20	2043	1825	1817	1817
q21	5444	5092	5291	5092
q22	1124	1038	998	998
Total cold run time: 65606 ms
Total hot run time: 57869 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 194730 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 951da11c2b7b7710e63f2b8a6a88f7318948ebed, data reload: false

query1	936	387	364	364
query2	6527	2126	2081	2081
query3	6700	211	231	211
query4	34266	23508	23415	23415
query5	4385	479	467	467
query6	269	177	173	173
query7	4627	295	308	295
query8	283	224	229	224
query9	9536	2712	2702	2702
query10	488	289	283	283
query11	18228	15309	15119	15119
query12	159	94	98	94
query13	1629	419	399	399
query14	10439	7316	7012	7012
query15	251	169	174	169
query16	8004	482	449	449
query17	1638	555	540	540
query18	2032	303	305	303
query19	365	142	141	141
query20	115	106	112	106
query21	210	104	102	102
query22	4587	4371	4284	4284
query23	34556	33968	34027	33968
query24	11165	2867	2889	2867
query25	609	385	393	385
query26	1206	158	155	155
query27	2780	281	277	277
query28	8299	2485	2428	2428
query29	844	404	409	404
query30	323	151	153	151
query31	993	772	796	772
query32	101	55	57	55
query33	757	295	288	288
query34	973	475	500	475
query35	883	737	719	719
query36	1088	900	946	900
query37	155	85	90	85
query38	4039	3915	3968	3915
query39	1458	1430	1391	1391
query40	203	94	92	92
query41	48	46	48	46
query42	122	96	96	96
query43	538	500	484	484
query44	1287	841	786	786
query45	191	165	168	165
query46	1124	736	777	736
query47	1873	1807	1837	1807
query48	469	348	370	348
query49	1138	403	392	392
query50	813	410	406	406
query51	7102	6892	6883	6883
query52	101	88	91	88
query53	256	184	181	181
query54	1209	480	473	473
query55	85	77	78	77
query56	284	277	265	265
query57	1202	1115	1060	1060
query58	254	246	239	239
query59	3267	3044	2956	2956
query60	305	274	263	263
query61	147	124	125	124
query62	898	672	659	659
query63	214	191	184	184
query64	5384	736	719	719
query65	3280	3212	3186	3186
query66	1461	341	316	316
query67	16025	15634	15586	15586
query68	3109	868	859	859
query69	459	340	345	340
query70	1195	1197	1197	1197
query71	347	334	336	334
query72	6102	3534	3383	3383
query73	595	579	577	577
query74	9430	8934	9060	8934
query75	2977	2847	2857	2847
query76	1965	866	861	861
query77	416	368	367	367
query78	10562	9302	9283	9283
query79	904	900	889	889
query80	598	571	576	571
query81	448	250	252	250
query82	236	238	230	230
query83	172	155	159	155
query84	240	111	95	95
query85	666	355	353	353
query86	311	288	317	288
query87	4513	4397	4319	4319
query88	4688	4076	4108	4076
query89	378	368	364	364
query90	1447	310	315	310
query91	167	166	164	164
query92	78	73	71	71
query93	915	925	916	916
query94	562	385	390	385
query95	445	405	413	405
query96	485	489	487	487
query97	3135	3170	3134	3134
query98	227	226	233	226
query99	1418	1313	1275	1275
Total cold run time: 294373 ms
Total hot run time: 194730 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.07	0.03	0.02
query3	0.23	0.06	0.06
query4	1.65	0.11	0.10
query5	0.52	0.51	0.49
query6	1.13	0.72	0.73
query7	0.02	0.02	0.01
query8	0.04	0.03	0.03
query9	0.57	0.50	0.50
query10	0.54	0.56	0.53
query11	0.15	0.11	0.11
query12	0.14	0.11	0.10
query13	0.60	0.59	0.59
query14	2.93	2.98	2.99
query15	0.89	0.82	0.82
query16	0.40	0.39	0.39
query17	1.06	1.07	1.01
query18	0.22	0.21	0.21
query19	1.90	1.80	2.02
query20	0.01	0.01	0.01
query21	15.63	0.60	0.58
query22	2.38	2.72	2.08
query23	17.51	0.84	0.79
query24	2.95	0.78	0.96
query25	0.14	0.14	0.08
query26	0.50	0.15	0.14
query27	0.04	0.04	0.04
query28	11.06	1.10	1.07
query29	12.58	3.23	3.24
query30	0.25	0.05	0.05
query31	2.88	0.39	0.39
query32	3.26	0.48	0.46
query33	2.98	3.01	3.02
query34	16.70	4.41	4.37
query35	4.44	4.40	4.44
query36	0.68	0.50	0.48
query37	0.08	0.06	0.06
query38	0.04	0.03	0.03
query39	0.04	0.02	0.02
query40	0.16	0.13	0.12
query41	0.07	0.02	0.03
query42	0.03	0.02	0.02
query43	0.03	0.02	0.02
Total cold run time: 107.55 s
Total hot run time: 32.76 s

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Sep 19, 2024
Copy link
Contributor

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

@englefly englefly merged commit 8b154db into apache:master Sep 20, 2024
25 of 28 checks passed
LiBinfeng-01 added a commit to LiBinfeng-01/doris that referenced this pull request Oct 8, 2024
…#39723)

when using fold constant by be, the return type of substring('123456',
1, 3) would changed to be text, which we want it to be 3
dataroaring pushed a commit that referenced this pull request Oct 9, 2024
when using fold constant by be, the return type of substring('123456',
1, 3) would changed to be text, which we want it to be 3
morrySnow pushed a commit that referenced this pull request Oct 14, 2024
…#41164) (#41537)

cherry-pick: #39723 #41164 because later problem is intro by prev one,
so put them together
when using fold constant by be,
the return type of substring('123456',1, 3) would changed to be text,
which we want it to be 3 remove windowframe in window expression
to avoid folding constant on be
LiBinfeng-01 added a commit to LiBinfeng-01/doris that referenced this pull request Oct 15, 2024
…#39723)(apache#41164) (apache#41537)

cherry-pick: apache#39723 apache#41164 because later problem is intro by prev one,
so put them together
when using fold constant by be,
the return type of substring('123456',1, 3) would changed to be text,
which we want it to be 3 remove windowframe in window expression
to avoid folding constant on be
LiBinfeng-01 added a commit to LiBinfeng-01/doris that referenced this pull request Oct 17, 2024
…#39723)(apache#41164) (apache#41537)

cherry-pick: apache#39723 apache#41164 because later problem is intro by prev one,
so put them together
when using fold constant by be,
the return type of substring('123456',1, 3) would changed to be text,
which we want it to be 3 remove windowframe in window expression
to avoid folding constant on be
924060929 pushed a commit that referenced this pull request Oct 18, 2024
…#41164)(#41331)(#41546) (#41838)

cherry-pick: #39723 #41164 #41331 #41546 because later problem is intro by prev one, so put them together
when using fold constant by be,
the return type of substring('123456',1, 3) would changed to be text, which we want it to be 3 remove windowframe in window expression to avoid folding constant on be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants