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

[Feat](nereids) support pull up predicate from set operator #39450

Merged
merged 24 commits into from
Sep 5, 2024

Conversation

feiniaofeiafei
Copy link
Contributor

@feiniaofeiafei feiniaofeiafei commented Aug 15, 2024

This pr complete the support scope of PullUpPredicate:
select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')
And support infer predicate for except and intersect:
select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;

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

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17895	4353	4390	4353
q2	2055	214	209	209
q3	10403	1346	1126	1126
q4	10155	839	759	759
q5	7932	2905	2811	2811
q6	274	161	162	161
q7	1034	669	660	660
q8	9396	2122	2087	2087
q9	7340	6603	6548	6548
q10	7112	2232	2215	2215
q11	491	279	277	277
q12	444	260	262	260
q13	18574	3006	2996	2996
q14	311	259	255	255
q15	578	546	501	501
q16	521	417	409	409
q17	1003	689	749	689
q18	7538	6953	6805	6805
q19	6916	1046	1027	1027
q20	708	363	349	349
q21	3859	2980	2585	2585
q22	1144	1035	1011	1011
Total cold run time: 115683 ms
Total hot run time: 38093 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4575	4312	4350	4312
q2	423	301	298	298
q3	2835	2632	2587	2587
q4	1887	1679	1636	1636
q5	5363	5396	5360	5360
q6	239	150	150	150
q7	2100	1681	1720	1681
q8	3221	3353	3378	3353
q9	8530	8367	8448	8367
q10	3436	3217	3159	3159
q11	628	522	518	518
q12	802	627	628	627
q13	16422	3009	2996	2996
q14	316	290	295	290
q15	557	515	516	515
q16	497	451	436	436
q17	1817	1511	1511	1511
q18	7708	7678	7581	7581
q19	1733	1495	1635	1495
q20	2018	1829	1798	1798
q21	7463	5125	5148	5125
q22	1128	1054	1061	1054
Total cold run time: 73698 ms
Total hot run time: 54849 ms

@doris-robot
Copy link

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

query1	998	399	381	381
query2	6748	1995	1902	1902
query3	6664	229	244	229
query4	27765	23725	23091	23091
query5	4373	689	684	684
query6	337	216	203	203
query7	4637	306	312	306
query8	400	359	357	357
query9	8469	2499	2467	2467
query10	494	312	302	302
query11	17690	14967	14877	14877
query12	171	129	127	127
query13	1694	413	416	413
query14	10102	7272	6890	6890
query15	279	188	186	186
query16	7519	494	546	494
query17	1690	597	603	597
query18	2003	335	328	328
query19	350	172	168	168
query20	141	131	132	131
query21	253	143	139	139
query22	4434	3935	3940	3935
query23	34058	33323	33574	33323
query24	11221	3027	2900	2900
query25	646	415	416	415
query26	1160	175	176	175
query27	2335	295	298	295
query28	7273	2136	2120	2120
query29	838	446	440	440
query30	331	179	187	179
query31	1048	852	841	841
query32	121	75	80	75
query33	810	344	341	341
query34	932	516	504	504
query35	924	741	772	741
query36	1104	986	976	976
query37	162	101	105	101
query38	3982	3804	3809	3804
query39	1494	1462	1478	1462
query40	234	153	152	152
query41	141	137	138	137
query42	136	116	112	112
query43	537	488	509	488
query44	1235	782	781	781
query45	225	194	196	194
query46	1134	763	780	763
query47	1930	1891	1853	1853
query48	405	334	332	332
query49	1199	584	578	578
query50	864	465	467	465
query51	6924	6776	6673	6673
query52	120	110	112	110
query53	300	229	231	229
query54	982	508	507	507
query55	93	89	89	89
query56	329	305	306	305
query57	1220	1143	1132	1132
query58	323	304	298	298
query59	2966	2874	2983	2874
query60	351	332	329	329
query61	154	147	147	147
query62	907	699	710	699
query63	260	230	229	229
query64	5345	2383	1884	1884
query65	3243	3156	3180	3156
query66	1172	667	675	667
query67	15475	15077	14901	14901
query68	5164	585	578	578
query69	721	416	335	335
query70	1258	1176	1206	1176
query71	535	308	314	308
query72	7666	2298	2094	2094
query73	819	359	358	358
query74	9421	8787	8762	8762
query75	4642	2753	2739	2739
query76	4087	1006	991	991
query77	882	448	438	438
query78	9764	9002	9067	9002
query79	4819	552	562	552
query80	1433	595	678	595
query81	630	260	258	258
query82	1552	159	159	159
query83	433	213	217	213
query84	298	98	99	98
query85	1640	361	348	348
query86	480	328	334	328
query87	4383	4195	4211	4195
query88	5219	2525	2545	2525
query89	466	330	327	327
query90	2009	231	231	231
query91	151	127	126	126
query92	87	73	78	73
query93	5229	560	547	547
query94	1016	318	318	318
query95	394	293	302	293
query96	630	284	282	282
query97	3229	3084	3092	3084
query98	258	227	270	227
query99	1605	1329	1327	1327
Total cold run time: 304774 ms
Total hot run time: 189870 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.09	0.04	0.04
query3	0.23	0.05	0.05
query4	1.66	0.08	0.08
query5	0.50	0.49	0.48
query6	1.15	0.73	0.71
query7	0.02	0.02	0.01
query8	0.06	0.05	0.06
query9	0.56	0.48	0.50
query10	0.54	0.54	0.55
query11	0.17	0.13	0.13
query12	0.16	0.13	0.13
query13	0.59	0.61	0.58
query14	0.77	0.78	0.78
query15	0.85	0.82	0.82
query16	0.38	0.38	0.37
query17	1.06	0.97	0.98
query18	0.25	0.23	0.23
query19	1.86	1.68	1.70
query20	0.01	0.01	0.01
query21	15.40	0.86	0.65
query22	4.10	7.04	2.13
query23	18.28	1.41	1.28
query24	2.08	0.23	0.24
query25	0.15	0.08	0.08
query26	0.32	0.22	0.22
query27	0.46	0.23	0.23
query28	13.23	1.04	1.02
query29	12.64	3.33	3.32
query30	0.38	0.19	0.19
query31	2.81	0.39	0.39
query32	3.27	0.50	0.48
query33	2.96	2.99	2.93
query34	17.39	4.38	4.39
query35	4.42	4.50	4.43
query36	0.68	0.48	0.48
query37	0.21	0.18	0.18
query38	0.17	0.17	0.16
query39	0.07	0.05	0.06
query40	0.19	0.15	0.15
query41	0.12	0.07	0.08
query42	0.09	0.08	0.08
query43	0.07	0.06	0.06
Total cold run time: 110.45 s
Total hot run time: 31.37 s

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17876	4302	4363	4302
q2	2082	215	222	215
q3	11677	1056	1113	1056
q4	10517	740	692	692
q5	7810	2804	2840	2804
q6	263	156	153	153
q7	993	638	666	638
q8	9574	2050	2112	2050
q9	8755	6473	6617	6473
q10	7080	2194	2217	2194
q11	483	264	260	260
q12	422	243	239	239
q13	19183	3034	3018	3018
q14	297	260	251	251
q15	574	523	533	523
q16	522	405	406	405
q17	986	671	681	671
q18	7400	6779	6781	6779
q19	7486	1204	1093	1093
q20	670	360	365	360
q21	4076	2931	3007	2931
q22	1130	1054	1009	1009
Total cold run time: 119856 ms
Total hot run time: 38116 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5473	4297	4300	4297
q2	401	303	284	284
q3	2907	2716	2771	2716
q4	1998	1761	1676	1676
q5	5740	5896	5784	5784
q6	235	154	144	144
q7	2259	1840	1981	1840
q8	3405	3533	3581	3533
q9	9169	9056	9018	9018
q10	3592	3300	3375	3300
q11	641	536	528	528
q12	868	665	681	665
q13	16473	3071	3038	3038
q14	323	281	296	281
q15	579	522	533	522
q16	526	453	448	448
q17	1828	1590	1510	1510
q18	8260	7691	7700	7691
q19	10401	1621	1693	1621
q20	3613	1888	1898	1888
q21	9743	5226	5357	5226
q22	1522	1088	1106	1088
Total cold run time: 89956 ms
Total hot run time: 57098 ms

@doris-robot
Copy link

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

query1	1335	905	884	884
query2	6565	2037	1924	1924
query3	10625	3847	3857	3847
query4	59506	24325	23177	23177
query5	6229	700	679	679
query6	563	216	203	203
query7	6451	326	304	304
query8	463	369	364	364
query9	9172	2495	2475	2475
query10	581	321	303	303
query11	18198	15096	15337	15096
query12	192	130	136	130
query13	1648	425	412	412
query14	12362	7223	7368	7223
query15	264	199	192	192
query16	7801	516	508	508
query17	1538	617	641	617
query18	2179	353	338	338
query19	296	172	174	172
query20	154	134	135	134
query21	255	146	147	146
query22	4465	4218	4389	4218
query23	34317	34299	34197	34197
query24	5711	2959	3104	2959
query25	567	429	428	428
query26	714	182	183	182
query27	1926	297	327	297
query28	3867	2170	2123	2123
query29	664	440	429	429
query30	217	186	175	175
query31	1024	800	815	800
query32	114	76	78	76
query33	519	334	337	334
query34	895	485	486	485
query35	868	750	739	739
query36	1077	992	951	951
query37	157	101	100	100
query38	4030	3856	3909	3856
query39	1497	1462	1461	1461
query40	231	153	150	150
query41	138	136	139	136
query42	135	118	118	118
query43	531	508	519	508
query44	1107	799	776	776
query45	228	196	195	195
query46	1100	781	763	763
query47	1929	1847	1849	1847
query48	394	328	324	324
query49	928	573	573	573
query50	846	459	455	455
query51	6873	6820	6769	6769
query52	122	105	114	105
query53	300	228	226	226
query54	602	493	489	489
query55	91	86	87	86
query56	341	306	306	306
query57	1213	1142	1102	1102
query58	314	297	298	297
query59	3092	2817	2786	2786
query60	349	329	357	329
query61	146	147	144	144
query62	808	700	697	697
query63	246	225	226	225
query64	4411	2374	1877	1877
query65	3248	3175	3196	3175
query66	1045	676	670	670
query67	15440	14922	14955	14922
query68	5436	573	574	573
query69	597	374	321	321
query70	1228	1146	1131	1131
query71	555	324	314	314
query72	6735	2302	2015	2015
query73	811	356	351	351
query74	9281	8786	8808	8786
query75	3914	2742	2765	2742
query76	3472	1018	946	946
query77	742	432	439	432
query78	9816	9279	9104	9104
query79	4111	563	628	563
query80	1696	611	604	604
query81	601	258	262	258
query82	902	159	159	159
query83	390	211	216	211
query84	289	94	103	94
query85	997	345	352	345
query86	398	330	330	330
query87	4615	4266	4354	4266
query88	4582	2426	2456	2426
query89	470	318	323	318
query90	2079	228	228	228
query91	152	125	124	124
query92	85	74	72	72
query93	5375	563	561	561
query94	800	329	327	327
query95	386	292	333	292
query96	636	284	279	279
query97	3219	3094	3072	3072
query98	249	229	224	224
query99	1589	1314	1344	1314
Total cold run time: 331422 ms
Total hot run time: 195770 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.05
query2	0.08	0.04	0.04
query3	0.22	0.05	0.05
query4	1.68	0.07	0.07
query5	0.52	0.49	0.50
query6	1.13	0.73	0.75
query7	0.02	0.02	0.02
query8	0.06	0.04	0.05
query9	0.56	0.49	0.50
query10	0.53	0.54	0.54
query11	0.17	0.13	0.12
query12	0.17	0.13	0.13
query13	0.61	0.60	0.59
query14	0.77	0.80	0.77
query15	0.86	0.81	0.82
query16	0.38	0.38	0.37
query17	0.98	1.07	0.98
query18	0.24	0.23	0.23
query19	1.85	1.73	1.83
query20	0.02	0.02	0.01
query21	15.38	0.86	0.68
query22	4.11	7.23	2.48
query23	18.30	1.45	1.31
query24	2.17	0.23	0.22
query25	0.16	0.08	0.09
query26	0.31	0.22	0.22
query27	0.46	0.24	0.23
query28	13.18	1.03	1.01
query29	12.61	3.34	3.30
query30	0.43	0.25	0.24
query31	2.79	0.40	0.40
query32	3.25	0.49	0.48
query33	2.95	2.92	3.00
query34	16.92	4.34	4.34
query35	4.47	4.42	4.35
query36	0.66	0.49	0.48
query37	0.21	0.19	0.18
query38	0.18	0.17	0.17
query39	0.07	0.06	0.06
query40	0.19	0.15	0.15
query41	0.11	0.07	0.07
query42	0.08	0.06	0.06
query43	0.07	0.06	0.07
Total cold run time: 109.96 s
Total hot run time: 31.75 s

@@ -422,7 +422,10 @@ public class Rewriter extends AbstractBatchJobExecutor {
topic("eliminate",
// SORT_PRUNING should be applied after mergeLimit
custom(RuleType.ELIMINATE_SORT, EliminateSort::new),
bottomUp(new EliminateEmptyRelation())
bottomUp(new EliminateEmptyRelation()),
topDown(new PushProjectIntoUnion()),
Copy link
Contributor

Choose a reason for hiding this comment

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

why here?

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17868	4898	4357	4357
q2	2064	221	225	221
q3	11684	1000	1097	1000
q4	10532	741	687	687
q5	7798	2853	2855	2853
q6	266	157	155	155
q7	1027	651	649	649
q8	9610	2090	2129	2090
q9	8755	6549	6549	6549
q10	7036	2269	2205	2205
q11	482	271	271	271
q12	428	262	259	259
q13	17780	3012	3004	3004
q14	292	254	255	254
q15	562	524	519	519
q16	521	419	407	407
q17	979	702	737	702
q18	7442	6679	6719	6679
q19	7246	1164	1131	1131
q20	737	358	362	358
q21	4400	2845	2658	2658
q22	1145	1036	1051	1036
Total cold run time: 118654 ms
Total hot run time: 38044 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4488	4291	4352	4291
q2	424	314	306	306
q3	2876	2689	2773	2689
q4	2035	1716	1727	1716
q5	5607	5730	5670	5670
q6	238	164	145	145
q7	2209	1760	1810	1760
q8	3360	3498	3476	3476
q9	8786	8763	8722	8722
q10	3605	3349	3271	3271
q11	643	517	525	517
q12	848	644	649	644
q13	16219	3164	3139	3139
q14	332	288	284	284
q15	554	526	511	511
q16	513	443	453	443
q17	1851	1579	1517	1517
q18	8236	7835	7684	7684
q19	9820	1585	1524	1524
q20	2199	1901	1866	1866
q21	13601	5286	5310	5286
q22	1216	1099	1100	1099
Total cold run time: 89660 ms
Total hot run time: 56560 ms

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18485	4510	4294	4294
q2	2076	216	211	211
q3	11339	947	1121	947
q4	10534	759	796	759
q5	7808	2826	2829	2826
q6	266	158	155	155
q7	1026	657	666	657
q8	9390	2102	2116	2102
q9	7312	6575	6548	6548
q10	7057	2251	2297	2251
q11	494	266	258	258
q12	420	244	244	244
q13	17944	2992	2985	2985
q14	304	245	251	245
q15	555	531	521	521
q16	529	410	407	407
q17	1012	697	707	697
q18	7538	6847	6805	6805
q19	6350	1126	1128	1126
q20	705	349	336	336
q21	3849	2772	2875	2772
q22	1143	1036	1045	1036
Total cold run time: 116136 ms
Total hot run time: 38182 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4474	4313	4267	4267
q2	415	306	306	306
q3	2817	2649	2652	2649
q4	1963	1709	1721	1709
q5	5718	5657	5743	5657
q6	237	145	143	143
q7	2169	1801	1754	1754
q8	3300	3534	3482	3482
q9	8775	8789	8781	8781
q10	3557	3354	3383	3354
q11	627	522	543	522
q12	836	638	673	638
q13	15735	3128	3243	3128
q14	342	298	308	298
q15	553	530	530	530
q16	496	439	438	438
q17	1837	1570	1516	1516
q18	8317	7947	7801	7801
q19	7051	1533	1544	1533
q20	2198	1874	1915	1874
q21	14459	5291	5351	5291
q22	1190	1107	1049	1049
Total cold run time: 87066 ms
Total hot run time: 56720 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 196994 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 05324ecd17185a334ca3fc7ace0f78c96ea3ca6c, data reload: false

query1	1341	950	882	882
query2	6566	2189	2068	2068
query3	10634	3917	3687	3687
query4	58049	24521	23444	23444
query5	6125	727	712	712
query6	552	236	212	212
query7	6464	334	338	334
query8	569	452	453	452
query9	9385	2577	2532	2532
query10	622	352	342	342
query11	18975	15020	15397	15020
query12	196	130	129	129
query13	1696	452	434	434
query14	12341	7270	7417	7270
query15	302	209	199	199
query16	7855	521	517	517
query17	1217	632	618	618
query18	2157	350	348	348
query19	305	172	170	170
query20	148	148	134	134
query21	247	145	141	141
query22	4580	4416	4314	4314
query23	34633	34409	34420	34409
query24	5720	2998	3080	2998
query25	588	429	432	429
query26	727	182	181	181
query27	1769	312	320	312
query28	3801	2233	2192	2192
query29	777	451	478	451
query30	234	202	206	202
query31	1070	863	820	820
query32	127	81	88	81
query33	545	359	353	353
query34	920	535	496	496
query35	900	754	785	754
query36	1111	964	968	964
query37	154	100	103	100
query38	4000	3925	3882	3882
query39	1525	1478	1483	1478
query40	246	156	154	154
query41	139	138	139	138
query42	132	113	119	113
query43	566	525	540	525
query44	1123	801	795	795
query45	223	197	202	197
query46	1126	782	771	771
query47	1895	1816	1865	1816
query48	408	330	334	330
query49	911	595	588	588
query50	878	481	467	467
query51	6880	6911	6700	6700
query52	128	111	129	111
query53	298	230	227	227
query54	622	499	508	499
query55	90	91	97	91
query56	323	312	316	312
query57	1201	1117	1113	1113
query58	295	299	303	299
query59	3169	2801	2828	2801
query60	357	325	337	325
query61	149	147	150	147
query62	820	696	696	696
query63	258	227	225	225
query64	4318	2340	1849	1849
query65	3201	3234	3164	3164
query66	1099	664	673	664
query67	15223	15030	15062	15030
query68	7496	581	594	581
query69	727	413	360	360
query70	1153	1231	1127	1127
query71	566	323	323	323
query72	7177	2261	1991	1991
query73	1874	362	361	361
query74	9342	8942	8826	8826
query75	4748	2737	2772	2737
query76	4480	994	1059	994
query77	906	445	434	434
query78	9847	9032	9334	9032
query79	7297	555	563	555
query80	1073	605	601	601
query81	601	257	261	257
query82	767	153	160	153
query83	428	214	214	214
query84	297	96	100	96
query85	1050	352	355	352
query86	397	310	323	310
query87	4434	4288	4170	4170
query88	3903	2613	2479	2479
query89	536	321	328	321
query90	1944	231	226	226
query91	150	130	126	126
query92	89	76	79	76
query93	5002	561	553	553
query94	806	329	326	326
query95	380	304	294	294
query96	623	292	293	292
query97	3248	3102	3082	3082
query98	242	239	237	237
query99	1603	1321	1300	1300
Total cold run time: 338191 ms
Total hot run time: 196994 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.04
query2	0.09	0.04	0.04
query3	0.22	0.06	0.06
query4	1.67	0.08	0.08
query5	0.50	0.50	0.50
query6	1.12	0.75	0.73
query7	0.02	0.01	0.01
query8	0.06	0.05	0.05
query9	0.55	0.49	0.50
query10	0.57	0.55	0.54
query11	0.16	0.12	0.12
query12	0.15	0.12	0.13
query13	0.60	0.60	0.61
query14	0.79	0.78	0.79
query15	0.84	0.83	0.84
query16	0.38	0.37	0.38
query17	1.00	1.09	1.07
query18	0.23	0.21	0.22
query19	1.91	1.80	1.87
query20	0.02	0.01	0.02
query21	15.39	0.66	0.65
query22	4.11	7.15	1.63
query23	18.32	1.41	1.24
query24	2.09	0.22	0.22
query25	0.15	0.08	0.10
query26	0.31	0.24	0.23
query27	0.46	0.23	0.24
query28	13.32	1.04	1.03
query29	12.64	3.32	3.28
query30	0.45	0.19	0.20
query31	2.80	0.39	0.40
query32	3.25	0.48	0.48
query33	2.96	3.00	3.01
query34	17.09	4.34	4.37
query35	4.45	4.40	4.44
query36	0.67	0.48	0.52
query37	0.20	0.17	0.18
query38	0.18	0.17	0.17
query39	0.06	0.05	0.06
query40	0.18	0.15	0.14
query41	0.11	0.07	0.07
query42	0.08	0.07	0.08
query43	0.08	0.06	0.06
Total cold run time: 110.28 s
Total hot run time: 31.05 s

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17862	4339	4303	4303
q2	2054	222	204	204
q3	11719	979	1109	979
q4	10522	780	706	706
q5	7796	2807	2763	2763
q6	260	156	157	156
q7	1023	656	665	656
q8	9574	2093	2127	2093
q9	8226	6564	6566	6564
q10	7076	2159	2175	2159
q11	486	289	273	273
q12	435	265	264	264
q13	18913	2998	3024	2998
q14	300	262	255	255
q15	567	534	532	532
q16	527	422	410	410
q17	1006	724	752	724
q18	7455	6811	6800	6800
q19	6834	1078	1084	1078
q20	902	367	362	362
q21	4275	2899	2710	2710
q22	1138	1082	1073	1073
Total cold run time: 118950 ms
Total hot run time: 38062 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4547	4336	4294	4294
q2	435	309	312	309
q3	2837	2617	2693	2617
q4	2009	1719	1732	1719
q5	5620	5703	5645	5645
q6	246	157	149	149
q7	2156	1800	1737	1737
q8	3300	3520	3486	3486
q9	8837	8763	8716	8716
q10	3559	3346	3317	3317
q11	620	520	530	520
q12	846	691	655	655
q13	15771	3208	3058	3058
q14	316	297	282	282
q15	550	520	517	517
q16	520	471	462	462
q17	1832	1595	1525	1525
q18	8206	7874	7809	7809
q19	5660	1536	1749	1536
q20	2180	1918	1870	1870
q21	13468	5273	5355	5273
q22	1206	1065	1075	1065
Total cold run time: 84721 ms
Total hot run time: 56561 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 195919 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 7802eb54be4ffc231a459858b250d3d00f936864, data reload: false

query1	1395	955	882	882
query2	6696	2138	2093	2093
query3	10675	3751	3750	3750
query4	57793	25115	23230	23230
query5	6132	729	765	729
query6	552	210	213	210
query7	6403	341	344	341
query8	562	444	453	444
query9	9301	2557	2513	2513
query10	617	352	360	352
query11	18579	15039	15318	15039
query12	225	129	132	129
query13	1670	439	440	439
query14	12163	7187	7318	7187
query15	263	216	216	216
query16	7524	555	562	555
query17	1192	610	611	610
query18	1999	354	341	341
query19	308	171	179	171
query20	191	138	136	136
query21	250	146	146	146
query22	4552	4504	4335	4335
query23	34512	33613	34030	33613
query24	5702	3086	2987	2987
query25	583	433	436	433
query26	731	183	184	183
query27	1975	309	316	309
query28	4010	2199	2158	2158
query29	718	463	453	453
query30	235	194	182	182
query31	1005	846	777	777
query32	101	75	78	75
query33	496	371	344	344
query34	903	499	494	494
query35	863	759	771	759
query36	1080	981	970	970
query37	163	103	107	103
query38	3899	3905	3954	3905
query39	1529	1489	1442	1442
query40	236	178	154	154
query41	137	134	136	134
query42	144	118	120	118
query43	558	521	528	521
query44	1136	790	796	790
query45	227	193	191	191
query46	1137	765	779	765
query47	1910	1807	1864	1807
query48	414	337	329	329
query49	927	587	588	587
query50	877	481	470	470
query51	6880	6665	6746	6665
query52	117	105	114	105
query53	298	228	227	227
query54	627	502	495	495
query55	93	86	90	86
query56	345	305	323	305
query57	1203	1114	1152	1114
query58	305	339	312	312
query59	3047	3013	2912	2912
query60	344	324	344	324
query61	150	146	143	143
query62	783	691	687	687
query63	257	228	224	224
query64	3415	1868	1889	1868
query65	3250	3147	3182	3147
query66	1026	671	657	657
query67	15346	14953	14869	14869
query68	6023	595	578	578
query69	688	421	333	333
query70	1227	1178	1213	1178
query71	549	316	315	315
query72	6742	2310	2071	2071
query73	838	358	356	356
query74	9369	8748	8795	8748
query75	3860	2714	2761	2714
query76	3687	1078	986	986
query77	835	443	439	439
query78	11335	9428	9225	9225
query79	9894	550	552	550
query80	1049	603	602	602
query81	580	258	253	253
query82	805	158	154	154
query83	375	212	211	211
query84	285	93	98	93
query85	883	351	351	351
query86	378	339	331	331
query87	4408	4195	4190	4190
query88	5226	2485	2481	2481
query89	555	324	315	315
query90	1824	232	236	232
query91	152	125	124	124
query92	84	74	73	73
query93	5504	543	543	543
query94	668	320	362	320
query95	385	300	291	291
query96	624	280	288	280
query97	3286	3043	3086	3043
query98	241	228	223	223
query99	1590	1275	1293	1275
Total cold run time: 336685 ms
Total hot run time: 195919 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.04
query2	0.08	0.04	0.05
query3	0.22	0.05	0.05
query4	1.68	0.08	0.07
query5	0.48	0.49	0.49
query6	1.14	0.74	0.73
query7	0.02	0.01	0.02
query8	0.05	0.05	0.05
query9	0.55	0.49	0.49
query10	0.57	0.55	0.53
query11	0.17	0.12	0.12
query12	0.16	0.13	0.13
query13	0.60	0.59	0.58
query14	0.76	0.81	0.76
query15	0.83	0.82	0.83
query16	0.37	0.37	0.37
query17	0.96	1.01	1.03
query18	0.21	0.22	0.21
query19	1.76	1.66	1.85
query20	0.01	0.01	0.02
query21	15.60	0.66	0.66
query22	4.51	6.91	2.00
query23	18.28	1.36	1.30
query24	2.12	0.24	0.23
query25	0.17	0.08	0.08
query26	0.31	0.23	0.23
query27	0.45	0.23	0.23
query28	13.16	1.03	1.01
query29	12.63	3.33	3.26
query30	0.43	0.20	0.19
query31	2.82	0.40	0.40
query32	3.24	0.48	0.48
query33	2.98	2.97	3.03
query34	16.94	4.32	4.33
query35	4.41	4.43	4.43
query36	0.66	0.48	0.50
query37	0.21	0.17	0.17
query38	0.17	0.17	0.17
query39	0.06	0.06	0.06
query40	0.18	0.14	0.15
query41	0.11	0.06	0.07
query42	0.08	0.06	0.07
query43	0.07	0.07	0.07
Total cold run time: 110.25 s
Total hot run time: 31.17 s

@feiniaofeiafei
Copy link
Contributor Author

run p0

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18690	4460	4498	4460
q2	2505	238	221	221
q3	11392	1136	1121	1121
q4	11337	804	756	756
q5	8079	2872	2821	2821
q6	264	161	159	159
q7	1039	666	657	657
q8	9403	2103	2061	2061
q9	7251	6584	6555	6555
q10	7091	2230	2225	2225
q11	512	274	278	274
q12	430	267	261	261
q13	17792	2986	2993	2986
q14	310	257	261	257
q15	583	539	525	525
q16	511	419	418	418
q17	979	688	697	688
q18	7554	6973	6727	6727
q19	6481	1182	1160	1160
q20	737	362	372	362
q21	3835	3082	2699	2699
q22	1125	1034	1048	1034
Total cold run time: 117900 ms
Total hot run time: 38427 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4552	4288	4320	4288
q2	429	323	325	323
q3	2863	2606	2658	2606
q4	1929	1631	1652	1631
q5	5369	5393	5388	5388
q6	246	155	153	153
q7	2095	1730	1744	1730
q8	3258	3369	3340	3340
q9	8466	8406	8420	8406
q10	3438	3184	3154	3154
q11	637	529	540	529
q12	791	621	629	621
q13	17217	3010	3000	3000
q14	332	298	289	289
q15	555	520	517	517
q16	494	448	442	442
q17	1774	1514	1497	1497
q18	7971	7745	7578	7578
q19	2926	1619	1601	1601
q20	2041	1837	1828	1828
q21	13996	5122	5131	5122
q22	1133	1032	1023	1023
Total cold run time: 82512 ms
Total hot run time: 55066 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 190409 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 81902b0876e353dcbc84460c73c0c0bbbbe9e92b, data reload: false

query1	961	426	403	403
query2	6770	2066	2033	2033
query3	6669	253	247	247
query4	33988	23330	23336	23330
query5	4389	667	662	662
query6	311	192	187	187
query7	4604	324	327	324
query8	429	378	442	378
query9	8628	2592	2563	2563
query10	517	351	365	351
query11	17699	15149	15041	15041
query12	199	141	139	139
query13	1713	451	450	450
query14	10069	6474	7497	6474
query15	255	190	193	190
query16	8091	516	499	499
query17	1649	604	592	592
query18	2152	335	341	335
query19	232	179	194	179
query20	144	138	136	136
query21	245	151	150	150
query22	4239	3951	4019	3951
query23	34039	33304	33487	33304
query24	11540	2944	2957	2944
query25	647	412	433	412
query26	1243	177	181	177
query27	2304	298	302	298
query28	7195	2136	2126	2126
query29	875	440	450	440
query30	341	201	198	198
query31	1064	844	838	838
query32	128	86	83	83
query33	812	339	337	337
query34	916	512	496	496
query35	890	753	760	753
query36	1103	915	921	915
query37	172	102	110	102
query38	3925	3909	3934	3909
query39	1515	1489	1480	1480
query40	238	155	153	153
query41	145	142	138	138
query42	133	136	119	119
query43	565	504	523	504
query44	1251	780	794	780
query45	224	196	197	196
query46	1132	767	761	761
query47	1931	1854	1842	1842
query48	407	339	337	337
query49	1253	587	590	587
query50	878	469	460	460
query51	6838	6717	6773	6717
query52	125	109	117	109
query53	302	231	229	229
query54	974	499	504	499
query55	94	91	90	90
query56	324	309	307	307
query57	1216	1139	1122	1122
query58	303	366	314	314
query59	3145	2918	2938	2918
query60	357	330	325	325
query61	151	147	147	147
query62	887	700	703	700
query63	270	234	239	234
query64	5336	2379	1825	1825
query65	3235	3190	3181	3181
query66	1074	680	686	680
query67	15527	14810	14922	14810
query68	6369	598	590	590
query69	760	482	326	326
query70	1209	1141	1162	1141
query71	583	320	309	309
query72	7568	2328	2107	2107
query73	860	355	356	355
query74	9539	8746	8776	8746
query75	4872	2670	2724	2670
query76	4742	1047	1102	1047
query77	917	453	437	437
query78	9748	9194	9099	9099
query79	7831	564	562	562
query80	2591	615	607	607
query81	630	267	263	263
query82	1031	171	163	163
query83	342	220	214	214
query84	295	98	98	98
query85	1543	361	361	361
query86	482	335	330	330
query87	4442	4271	4202	4202
query88	5333	2452	2477	2452
query89	482	331	325	325
query90	2063	237	230	230
query91	157	128	131	128
query92	96	79	75	75
query93	6299	571	564	564
query94	1035	308	302	302
query95	393	290	293	290
query96	619	323	283	283
query97	3257	3090	3091	3090
query98	244	231	229	229
query99	1721	1308	1304	1304
Total cold run time: 319030 ms
Total hot run time: 190409 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.08	0.05	0.05
query3	0.22	0.05	0.05
query4	1.68	0.08	0.08
query5	0.48	0.48	0.48
query6	1.14	0.74	0.75
query7	0.02	0.02	0.02
query8	0.06	0.05	0.05
query9	0.56	0.48	0.49
query10	0.57	0.53	0.56
query11	0.15	0.12	0.12
query12	0.15	0.13	0.13
query13	0.62	0.60	0.60
query14	0.77	0.78	0.79
query15	0.86	0.84	0.82
query16	0.38	0.36	0.38
query17	0.99	1.02	0.98
query18	0.22	0.23	0.22
query19	1.88	1.72	1.71
query20	0.02	0.01	0.01
query21	15.39	0.67	0.67
query22	3.85	6.52	2.83
query23	18.31	1.37	1.46
query24	2.10	0.26	0.23
query25	0.16	0.09	0.08
query26	0.32	0.23	0.23
query27	0.45	0.24	0.23
query28	13.26	1.04	1.01
query29	12.66	3.35	3.30
query30	0.37	0.19	0.20
query31	2.81	0.40	0.39
query32	3.26	0.48	0.48
query33	2.98	2.98	2.94
query34	17.11	4.33	4.37
query35	4.44	4.44	4.43
query36	0.67	0.51	0.50
query37	0.22	0.18	0.18
query38	0.18	0.17	0.17
query39	0.07	0.05	0.06
query40	0.18	0.15	0.15
query41	0.12	0.07	0.07
query42	0.08	0.06	0.07
query43	0.07	0.07	0.06
Total cold run time: 109.96 s
Total hot run time: 32.2 s

@feiniaofeiafei
Copy link
Contributor Author

run p0

@feiniaofeiafei
Copy link
Contributor Author

run cloud_p1

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18061	4420	4340	4340
q2	2066	209	206	206
q3	10471	1152	1101	1101
q4	10177	747	790	747
q5	7766	2890	2859	2859
q6	265	157	160	157
q7	1005	679	655	655
q8	9402	2094	2085	2085
q9	7217	6588	6576	6576
q10	7072	2264	2260	2260
q11	499	284	281	281
q12	427	277	274	274
q13	17791	3021	3025	3021
q14	305	261	255	255
q15	570	522	530	522
q16	508	403	404	403
q17	979	737	745	737
q18	7478	6913	6839	6839
q19	6587	1100	1137	1100
q20	685	351	344	344
q21	4137	2829	3140	2829
q22	1149	1038	1047	1038
Total cold run time: 114617 ms
Total hot run time: 38629 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4458	4333	4326	4326
q2	411	290	302	290
q3	2889	2682	2602	2602
q4	1935	1740	1702	1702
q5	5659	5733	5629	5629
q6	244	146	150	146
q7	2200	1797	1811	1797
q8	3322	3445	3469	3445
q9	8767	8502	8761	8502
q10	3518	3351	3390	3351
q11	616	505	521	505
q12	834	631	663	631
q13	16676	3130	3184	3130
q14	341	307	306	306
q15	583	521	559	521
q16	505	449	468	449
q17	1809	1548	1518	1518
q18	8335	7972	7791	7791
q19	3131	1720	1639	1639
q20	3493	1843	1813	1813
q21	13988	5295	5240	5240
q22	1318	1113	1105	1105
Total cold run time: 85032 ms
Total hot run time: 56438 ms

@morrySnow
Copy link
Contributor

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17869	5495	4428	4428
q2	2640	197	186	186
q3	12127	1126	1042	1042
q4	10423	820	741	741
q5	7756	2898	2906	2898
q6	232	143	146	143
q7	982	623	607	607
q8	9317	2086	2030	2030
q9	7010	6575	6546	6546
q10	7018	2168	2255	2168
q11	461	244	247	244
q12	406	224	226	224
q13	19027	3104	3082	3082
q14	273	249	245	245
q15	538	504	499	499
q16	581	542	492	492
q17	978	654	694	654
q18	7342	6909	6850	6850
q19	1398	985	1072	985
q20	690	324	326	324
q21	3983	2772	2991	2772
q22	1137	1032	1029	1029
Total cold run time: 112188 ms
Total hot run time: 38189 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4398	4296	4315	4296
q2	385	282	275	275
q3	2896	2697	2698	2697
q4	1933	1634	1603	1603
q5	5392	5446	5463	5446
q6	218	134	135	134
q7	2100	1772	1736	1736
q8	3187	3352	3354	3352
q9	8493	8492	8412	8412
q10	3467	3175	3181	3175
q11	626	517	504	504
q12	771	634	607	607
q13	14300	3096	3118	3096
q14	316	274	266	266
q15	523	490	476	476
q16	603	557	571	557
q17	1799	1507	1499	1499
q18	7785	7613	7672	7613
q19	1698	1427	1548	1427
q20	2096	1835	1807	1807
q21	5492	5142	5166	5142
q22	1129	1055	1035	1035
Total cold run time: 69607 ms
Total hot run time: 55155 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 187839 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 13b68159d12c01f6a673226631f45e1201ac36af, data reload: false

query1	917	364	381	364
query2	6479	1981	1896	1896
query3	6648	205	207	205
query4	30740	23156	23238	23156
query5	4152	500	511	500
query6	251	173	165	165
query7	4588	301	280	280
query8	272	220	221	220
query9	8476	2512	2507	2507
query10	442	266	262	262
query11	16315	15142	14948	14948
query12	143	103	98	98
query13	1623	383	371	371
query14	9734	7380	6939	6939
query15	259	170	174	170
query16	7911	456	456	456
query17	1571	552	553	552
query18	2052	286	290	286
query19	302	145	143	143
query20	117	111	109	109
query21	217	102	103	102
query22	4292	4153	4207	4153
query23	34046	33356	33440	33356
query24	11114	2882	2837	2837
query25	633	396	388	388
query26	1103	155	152	152
query27	2428	272	275	272
query28	7279	2057	2051	2051
query29	804	404	413	404
query30	328	155	159	155
query31	1000	771	750	750
query32	99	57	59	57
query33	771	288	281	281
query34	1005	477	473	473
query35	840	701	740	701
query36	1113	934	911	911
query37	171	93	90	90
query38	4062	3811	3855	3811
query39	1576	1397	1392	1392
query40	199	115	117	115
query41	49	47	46	46
query42	114	93	96	93
query43	531	476	469	469
query44	1202	749	734	734
query45	198	167	169	167
query46	1115	744	761	744
query47	1869	1791	1798	1791
query48	382	300	301	300
query49	1120	455	460	455
query50	829	406	427	406
query51	7054	6966	6895	6895
query52	100	88	86	86
query53	259	190	181	181
query54	988	475	468	468
query55	77	78	78	78
query56	289	263	264	263
query57	1180	1082	1081	1081
query58	250	241	240	240
query59	3132	2711	2684	2684
query60	303	274	275	274
query61	127	121	120	120
query62	886	641	680	641
query63	226	189	187	187
query64	4362	746	734	734
query65	3246	3159	3159	3159
query66	1440	349	355	349
query67	15543	15385	15235	15235
query68	4486	564	555	555
query69	423	288	276	276
query70	1202	1082	1101	1082
query71	340	265	276	265
query72	6734	4187	4265	4187
query73	755	331	342	331
query74	9079	8834	8886	8834
query75	3402	2665	2913	2665
query76	2254	989	984	984
query77	505	310	309	309
query78	9777	9133	9034	9034
query79	2501	535	550	535
query80	1137	503	509	503
query81	585	237	238	237
query82	648	148	148	148
query83	218	151	150	150
query84	238	81	82	81
query85	1749	285	279	279
query86	500	304	303	303
query87	4429	4289	4320	4289
query88	3957	2380	2336	2336
query89	386	294	285	285
query90	1860	195	194	194
query91	131	99	97	97
query92	65	48	51	48
query93	2188	552	535	535
query94	951	263	295	263
query95	349	248	252	248
query96	611	267	263	263
query97	3181	3095	3142	3095
query98	208	216	210	210
query99	1494	1260	1301	1260
Total cold run time: 289286 ms
Total hot run time: 187839 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.04
query2	0.08	0.03	0.04
query3	0.23	0.05	0.05
query4	1.68	0.07	0.08
query5	0.51	0.49	0.50
query6	1.13	0.73	0.72
query7	0.02	0.01	0.01
query8	0.06	0.05	0.05
query9	0.54	0.50	0.49
query10	0.54	0.58	0.55
query11	0.16	0.12	0.11
query12	0.15	0.12	0.13
query13	0.60	0.60	0.58
query14	2.09	2.05	2.07
query15	0.83	0.81	0.81
query16	0.38	0.39	0.38
query17	1.07	1.05	1.05
query18	0.20	0.20	0.22
query19	1.82	1.79	1.80
query20	0.01	0.01	0.01
query21	15.39	0.68	0.69
query22	4.11	6.55	2.37
query23	18.30	1.40	1.33
query24	2.07	0.23	0.22
query25	0.15	0.08	0.08
query26	0.29	0.18	0.17
query27	0.07	0.07	0.08
query28	13.32	1.02	1.02
query29	12.62	3.38	3.38
query30	0.24	0.06	0.05
query31	2.96	0.41	0.39
query32	3.22	0.48	0.48
query33	2.99	2.99	3.10
query34	17.13	4.42	4.45
query35	4.48	4.43	4.47
query36	0.66	0.46	0.49
query37	0.19	0.16	0.15
query38	0.15	0.15	0.15
query39	0.05	0.04	0.04
query40	0.15	0.12	0.12
query41	0.10	0.05	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.04
Total cold run time: 110.89 s
Total hot run time: 32.74 s

@feiniaofeiafei
Copy link
Contributor Author

run p0

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17620	4366	4371	4366
q2	2020	193	188	188
q3	11924	992	1129	992
q4	10510	700	811	700
q5	7770	2829	2833	2829
q6	227	145	141	141
q7	958	618	609	609
q8	9309	2041	2096	2041
q9	6840	6542	6592	6542
q10	6992	2192	2183	2183
q11	490	256	238	238
q12	390	229	230	229
q13	17754	3104	3071	3071
q14	292	236	240	236
q15	542	491	469	469
q16	595	507	486	486
q17	982	650	689	650
q18	7254	6781	6817	6781
q19	1401	1119	1004	1004
q20	706	353	334	334
q21	3851	3021	3037	3021
q22	1171	1017	1040	1017
Total cold run time: 109598 ms
Total hot run time: 38127 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4368	4314	4295	4295
q2	383	277	269	269
q3	2898	2647	2691	2647
q4	1919	1669	1667	1667
q5	5576	5669	5730	5669
q6	228	135	135	135
q7	2252	1825	1807	1807
q8	3299	3443	3424	3424
q9	8917	8896	8840	8840
q10	3564	3360	3398	3360
q11	637	529	531	529
q12	858	647	647	647
q13	16531	3222	3376	3222
q14	336	296	294	294
q15	522	484	498	484
q16	654	582	572	572
q17	2008	1555	1543	1543
q18	8149	7771	7972	7771
q19	1705	1612	1629	1612
q20	2181	1936	1950	1936
q21	5804	5568	5440	5440
q22	1143	1081	1091	1081
Total cold run time: 73932 ms
Total hot run time: 57244 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 193481 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 13b68159d12c01f6a673226631f45e1201ac36af, data reload: false

query1	1254	883	873	873
query2	6345	1932	2004	1932
query3	10793	3981	4023	3981
query4	60021	26283	23068	23068
query5	5459	513	512	512
query6	393	190	166	166
query7	5786	291	294	291
query8	304	220	211	211
query9	8968	2507	2512	2507
query10	497	302	265	265
query11	16859	14914	15259	14914
query12	156	105	112	105
query13	1555	412	393	393
query14	11339	7097	7468	7097
query15	233	184	186	184
query16	7496	521	488	488
query17	1108	576	561	561
query18	2065	302	300	300
query19	287	152	159	152
query20	124	116	117	116
query21	206	105	111	105
query22	4636	4634	4616	4616
query23	34346	33649	33706	33649
query24	6000	2878	2924	2878
query25	565	405	415	405
query26	690	155	155	155
query27	1802	276	274	274
query28	3755	2071	2067	2067
query29	715	433	438	433
query30	244	160	155	155
query31	942	785	796	785
query32	86	55	57	55
query33	446	303	295	295
query34	868	490	460	460
query35	858	739	726	726
query36	1054	928	953	928
query37	145	95	96	95
query38	3941	3881	3900	3881
query39	1459	1422	1408	1408
query40	205	117	118	117
query41	49	52	47	47
query42	121	98	99	98
query43	517	477	471	471
query44	1101	765	748	748
query45	198	174	173	173
query46	1093	761	749	749
query47	1904	1767	1833	1767
query48	376	298	301	298
query49	789	458	466	458
query50	852	415	418	415
query51	7018	6905	6855	6855
query52	96	88	89	88
query53	249	188	185	185
query54	586	469	463	463
query55	81	80	76	76
query56	286	279	286	279
query57	1172	1081	1102	1081
query58	231	244	272	244
query59	3025	2839	2691	2691
query60	309	287	290	287
query61	125	120	120	120
query62	760	648	665	648
query63	211	197	188	188
query64	2914	673	691	673
query65	3182	3136	3141	3136
query66	629	343	338	338
query67	15473	15222	15322	15222
query68	4386	593	554	554
query69	416	289	289	289
query70	1172	1130	1029	1029
query71	339	288	279	279
query72	6658	4039	4020	4020
query73	773	323	325	323
query74	9413	8913	8948	8913
query75	3371	2702	2709	2702
query76	1692	1010	1004	1004
query77	521	328	319	319
query78	9872	10045	9260	9260
query79	1357	528	525	525
query80	791	539	526	526
query81	571	231	240	231
query82	252	151	153	151
query83	191	156	152	152
query84	260	78	77	77
query85	769	295	284	284
query86	361	280	280	280
query87	4458	4289	4371	4289
query88	3591	2349	2351	2349
query89	392	281	286	281
query90	2040	197	194	194
query91	127	103	105	103
query92	60	53	51	51
query93	1706	538	536	536
query94	771	301	293	293
query95	352	257	254	254
query96	596	264	264	264
query97	3184	3141	3065	3065
query98	217	195	216	195
query99	1588	1300	1288	1288
Total cold run time: 309599 ms
Total hot run time: 193481 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.04
query2	0.09	0.04	0.04
query3	0.23	0.06	0.05
query4	1.68	0.07	0.08
query5	0.51	0.50	0.51
query6	1.13	0.73	0.73
query7	0.02	0.02	0.01
query8	0.05	0.05	0.05
query9	0.55	0.49	0.48
query10	0.54	0.55	0.54
query11	0.15	0.11	0.11
query12	0.14	0.12	0.13
query13	0.60	0.59	0.59
query14	2.12	2.06	2.09
query15	0.86	0.82	0.82
query16	0.36	0.37	0.37
query17	0.97	1.02	0.99
query18	0.21	0.20	0.20
query19	1.81	1.84	1.82
query20	0.01	0.02	0.01
query21	15.39	0.68	0.67
query22	4.39	7.84	1.60
query23	18.31	1.37	1.33
query24	2.05	0.27	0.22
query25	0.13	0.08	0.08
query26	0.27	0.18	0.18
query27	0.07	0.08	0.08
query28	13.21	1.03	1.00
query29	12.64	3.31	3.28
query30	0.25	0.05	0.05
query31	2.88	0.40	0.38
query32	3.26	0.49	0.48
query33	3.00	3.00	3.07
query34	16.87	4.48	4.42
query35	4.57	4.48	4.45
query36	0.69	0.49	0.49
query37	0.19	0.16	0.16
query38	0.16	0.15	0.15
query39	0.06	0.04	0.04
query40	0.17	0.14	0.13
query41	0.09	0.04	0.04
query42	0.07	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 110.84 s
Total hot run time: 31.92 s

@feiniaofeiafei
Copy link
Contributor Author

run cloud_p0

@morrySnow morrySnow merged commit f830527 into apache:master Sep 5, 2024
24 of 26 checks passed
feiniaofeiafei added a commit to feiniaofeiafei/doris that referenced this pull request Oct 15, 2024
…9450)

This pr complete the support scope of PullUpPredicate:

select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')

And support infer predicate for except and intersect:

select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;

select a,b from test1 where a<1 intersect all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;
924060929 pushed a commit that referenced this pull request Oct 24, 2024
…41908)

This pr complete the support scope of PullUpPredicate:
select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')
And support infer predicate for except and intersect:
select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; 
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;
924060929 pushed a commit that referenced this pull request Oct 24, 2024
…on all (#41613) (#41909)

introduce by #31811 and #39450
```sql
select count(1) from(select 3, 6 union all select 1, 3) t
```
wrong LogicalUnion plan:
```sql
LogicalUnion( qualifier=ALL, outputs=[3#6], regularChildrenOutputs=[], constantExprsList=[[], []], hasPushedFilter=false
```
this sql will report error in explain, because the logical union outputs has a slot, but the logical union has no child and has a empty constantExprList, which is wrong set in column prune.
this pr fixes it by consider when require columns is empty and keep the min slot and min slot corresponding const expressions.
feiniaofeiafei added a commit to feiniaofeiafei/doris that referenced this pull request Nov 15, 2024
…9450)

This pr complete the support scope of PullUpPredicate:

select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')

And support infer predicate for except and intersect:

select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;

select a,b from test1 where a<1 intersect all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;
feiniaofeiafei added a commit to feiniaofeiafei/doris that referenced this pull request Nov 21, 2024
…9450)

This pr complete the support scope of PullUpPredicate:

select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')

And support infer predicate for except and intersect:

select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;

select a,b from test1 where a<1 intersect all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;
feiniaofeiafei added a commit to feiniaofeiafei/doris that referenced this pull request Nov 21, 2024
…9450)

This pr complete the support scope of PullUpPredicate:

select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')

And support infer predicate for except and intersect:

select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;

select a,b from test1 where a<1 intersect all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;
feiniaofeiafei added a commit to feiniaofeiafei/doris that referenced this pull request Nov 21, 2024
…9450)

This pr complete the support scope of PullUpPredicate:

select a,b from test1 where a<1 union all select a,b from test2 where a<1; pull up filter a<1
select a,b from test1 where a<1 intersect all select a,b from test2 where b<1; pull up filter a<1 and b<1
select a,b from test1 where a<1 except all select a,b from test2 where b<1; pull up filter a<1
select 1 a, 'bbb' b union (all) select 2,'aa'; pull up filter a in(1,2) and b in ('bbb','aa')

And support infer predicate for except and intersect:

select a,b from test1 where a<1 except all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 except all select a,b from test2 where b<1 and a<1;

select a,b from test1 where a<1 intersect all select a,b from test2 where b<1;
->
select a,b from test1 where a<1 and b < 1 intersect all select a,b from test2 where b<1 and a < 1;
morrySnow pushed a commit that referenced this pull request Dec 3, 2024
@yiguolei yiguolei mentioned this pull request Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.1.8-merged dev/3.0.3-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants