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

[enhance](mtmv)support olap table partition column is null #32698

Merged
merged 15 commits into from
Mar 28, 2024

Conversation

zddr
Copy link
Contributor

@zddr zddr commented Mar 22, 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

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

@zddr zddr marked this pull request as draft March 22, 2024 13:21
@zddr zddr marked this pull request as ready for review March 26, 2024 08:53
@zddr
Copy link
Contributor Author

zddr commented Mar 26, 2024

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17637	4353	4088	4088
q2	2118	160	160	160
q3	10568	1142	1173	1142
q4	10389	795	744	744
q5	7502	3067	3033	3033
q6	205	123	124	123
q7	1051	602	573	573
q8	9349	2069	2046	2046
q9	7873	6638	6608	6608
q10	8394	3480	3600	3480
q11	424	215	215	215
q12	364	197	206	197
q13	17799	2895	2853	2853
q14	227	217	206	206
q15	519	457	463	457
q16	502	372	374	372
q17	963	545	562	545
q18	7416	6558	6449	6449
q19	3669	1486	1403	1403
q20	560	257	248	248
q21	3584	2979	2939	2939
q22	351	282	287	282
Total cold run time: 111464 ms
Total hot run time: 38163 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4104	4054	4054	4054
q2	324	230	230	230
q3	2974	2880	2843	2843
q4	1858	1552	1565	1552
q5	5307	5348	5346	5346
q6	192	115	118	115
q7	2258	1866	1825	1825
q8	3158	3309	3305	3305
q9	8786	8706	8741	8706
q10	3835	3772	3805	3772
q11	550	443	456	443
q12	728	552	537	537
q13	16882	2840	2868	2840
q14	276	248	273	248
q15	496	453	457	453
q16	468	421	422	421
q17	1732	1501	1468	1468
q18	7450	7209	7219	7209
q19	1595	1509	1518	1509
q20	1934	1738	1712	1712
q21	4814	4728	4625	4625
q22	520	427	465	427
Total cold run time: 70241 ms
Total hot run time: 53640 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 180777 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 3c02fa298be6b09d7dee3ccb1bd17f5b6a191a67, data reload: false

query1	933	368	360	360
query2	7593	1986	1857	1857
query3	6708	230	231	230
query4	31868	21198	21346	21198
query5	4327	392	390	390
query6	282	181	171	171
query7	4630	296	301	296
query8	245	173	184	173
query9	9259	2242	2244	2242
query10	558	264	251	251
query11	14714	14138	14280	14138
query12	159	89	90	89
query13	1634	424	434	424
query14	9924	7894	7467	7467
query15	252	200	197	197
query16	8176	267	258	258
query17	1971	579	563	563
query18	2084	275	264	264
query19	349	144	148	144
query20	90	83	85	83
query21	208	123	126	123
query22	5022	4827	4804	4804
query23	33376	32591	32586	32586
query24	11666	2887	2831	2831
query25	622	363	359	359
query26	1750	154	150	150
query27	2980	353	348	348
query28	7384	1869	1833	1833
query29	978	629	591	591
query30	300	147	148	147
query31	961	712	725	712
query32	97	62	62	62
query33	774	248	260	248
query34	1061	489	491	489
query35	823	644	623	623
query36	1016	888	857	857
query37	162	66	63	63
query38	3499	3435	3421	3421
query39	1443	1481	1408	1408
query40	286	112	112	112
query41	51	47	50	47
query42	103	100	93	93
query43	477	456	444	444
query44	1213	751	738	738
query45	280	263	271	263
query46	1122	727	718	718
query47	1947	1817	1853	1817
query48	436	365	353	353
query49	1233	352	334	334
query50	754	374	370	370
query51	6657	6609	6667	6609
query52	110	94	99	94
query53	344	278	281	278
query54	318	243	236	236
query55	93	79	77	77
query56	242	233	229	229
query57	1212	1138	1128	1128
query58	229	208	209	208
query59	2753	2585	2668	2585
query60	260	238	248	238
query61	114	116	115	115
query62	662	451	447	447
query63	305	272	277	272
query64	6554	4099	4142	4099
query65	3112	3064	3049	3049
query66	1404	380	379	379
query67	15413	14954	14612	14612
query68	9322	534	538	534
query69	671	384	411	384
query70	1400	1199	1126	1126
query71	523	270	273	270
query72	6826	2703	2542	2542
query73	1627	332	317	317
query74	6886	6352	6335	6335
query75	4184	2199	2219	2199
query76	5765	873	889	873
query77	638	257	260	257
query78	11064	10063	10093	10063
query79	11936	536	532	532
query80	1714	372	363	363
query81	495	216	220	216
query82	240	88	81	81
query83	212	152	169	152
query84	290	77	76	76
query85	1226	320	304	304
query86	351	305	292	292
query87	3821	3579	3529	3529
query88	5651	2378	2361	2361
query89	486	366	372	366
query90	2000	178	176	176
query91	171	158	138	138
query92	59	48	49	48
query93	6336	504	485	485
query94	1323	177	171	171
query95	436	323	328	323
query96	605	275	276	275
query97	2625	2466	2460	2460
query98	234	211	205	205
query99	1128	930	932	930
Total cold run time: 317807 ms
Total hot run time: 180777 ms

@doris-robot
Copy link

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

Load test result on commit 3c02fa298be6b09d7dee3ccb1bd17f5b6a191a67 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:       19.7 seconds inserted 10000000 Rows, about 507K ops/s

@zddr
Copy link
Contributor Author

zddr commented Mar 26, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Mar 27, 2024

run performance

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17609	4225	4081	4081
q2	2126	155	153	153
q3	10587	1111	1183	1111
q4	10226	767	729	729
q5	7449	2984	2950	2950
q6	201	125	123	123
q7	1019	592	568	568
q8	9328	1963	1953	1953
q9	7207	6598	6542	6542
q10	8444	3493	3541	3493
q11	441	226	219	219
q12	400	202	199	199
q13	17824	2871	2877	2871
q14	244	211	215	211
q15	517	485	470	470
q16	509	380	379	379
q17	937	640	587	587
q18	7041	6393	6405	6393
q19	1561	1381	1436	1381
q20	531	272	272	272
q21	3569	2969	2836	2836
q22	352	294	293	293
Total cold run time: 108122 ms
Total hot run time: 37814 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4071	4078	4059	4059
q2	331	236	225	225
q3	2943	2842	2869	2842
q4	1850	1516	1541	1516
q5	5289	5355	5398	5355
q6	194	115	117	115
q7	2257	1927	1896	1896
q8	3149	3321	3270	3270
q9	8828	8765	8818	8765
q10	3833	3857	3812	3812
q11	547	453	456	453
q12	721	539	538	538
q13	18024	2942	2930	2930
q14	285	254	259	254
q15	509	459	477	459
q16	482	446	438	438
q17	1733	1497	1469	1469
q18	7704	7760	7716	7716
q19	2483	1601	1548	1548
q20	1996	1858	1818	1818
q21	5052	4794	4829	4794
q22	542	470	465	465
Total cold run time: 72823 ms
Total hot run time: 54737 ms

@doris-robot
Copy link

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

query1	939	366	356	356
query2	6597	1821	1884	1821
query3	6697	222	228	222
query4	31445	21336	21304	21304
query5	4359	403	392	392
query6	274	177	178	177
query7	4627	292	288	288
query8	230	177	176	176
query9	9066	2277	2279	2277
query10	553	241	249	241
query11	14787	14245	14318	14245
query12	131	89	88	88
query13	1641	416	426	416
query14	10064	7484	7997	7484
query15	293	219	192	192
query16	8238	269	280	269
query17	2123	586	558	558
query18	2108	289	283	283
query19	360	163	167	163
query20	95	85	95	85
query21	210	128	137	128
query22	5012	4790	4771	4771
query23	33534	32799	32659	32659
query24	8975	2886	2910	2886
query25	568	384	398	384
query26	718	161	166	161
query27	2158	364	366	364
query28	5584	1884	1896	1884
query29	879	650	632	632
query30	311	149	154	149
query31	953	747	737	737
query32	89	56	60	56
query33	630	259	260	259
query34	869	492	492	492
query35	696	613	608	608
query36	985	878	893	878
query37	103	68	64	64
query38	3545	3477	3408	3408
query39	1482	1643	1437	1437
query40	213	118	118	118
query41	49	48	48	48
query42	109	98	95	95
query43	465	448	467	448
query44	1071	761	735	735
query45	282	267	261	261
query46	1120	693	694	693
query47	1907	1829	1815	1815
query48	455	366	355	355
query49	1049	336	347	336
query50	755	386	372	372
query51	6715	6586	6664	6586
query52	102	91	94	91
query53	351	278	284	278
query54	272	243	237	237
query55	84	78	83	78
query56	237	216	218	216
query57	1188	1150	1123	1123
query58	225	206	203	203
query59	2681	2530	2606	2530
query60	266	241	242	241
query61	93	96	94	94
query62	637	454	442	442
query63	315	282	289	282
query64	5325	4057	4050	4050
query65	3078	3033	3077	3033
query66	861	401	352	352
query67	15265	14901	14750	14750
query68	5279	520	521	520
query69	566	383	382	382
query70	1254	1184	1144	1144
query71	385	271	271	271
query72	6490	2816	2691	2691
query73	698	324	319	319
query74	7552	6388	6378	6378
query75	3008	2302	2198	2198
query76	3265	877	886	877
query77	398	283	269	269
query78	10884	10154	10173	10154
query79	7410	539	540	539
query80	1842	390	402	390
query81	568	234	220	220
query82	1516	92	89	89
query83	273	164	155	155
query84	287	83	88	83
query85	2032	390	312	312
query86	497	307	292	292
query87	3771	3595	3512	3512
query88	4872	2393	2384	2384
query89	478	369	381	369
query90	1982	181	179	179
query91	167	139	138	138
query92	62	51	49	49
query93	5581	507	495	495
query94	1304	179	175	175
query95	444	335	328	328
query96	619	273	274	273
query97	2662	2458	2494	2458
query98	228	227	211	211
query99	1202	923	916	916
Total cold run time: 294674 ms
Total hot run time: 181626 ms

@doris-robot
Copy link

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

Load test result on commit dc00996a3d396c3492cd63fa5fc1b54e6e1805ca with default session variables
Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
Stream load orc:          59 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      32 seconds loaded 861443392 Bytes, about 25 MB/s
Insert into select:       13.8 seconds inserted 10000000 Rows, about 724K ops/s

morrySnow
morrySnow previously approved these changes Mar 27, 2024
Copy link
Contributor

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

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Mar 27, 2024
Copy link
Contributor

PR approved by anyone and no changes requested.

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Mar 27, 2024
@zddr
Copy link
Contributor Author

zddr commented Mar 27, 2024

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 7babbb32d7e1f59ea294b11e639067b312c9389f, data reload: false

------ Round 1 ----------------------------------
q1	17610	4189	4104	4104
q2	2111	157	157	157
q3	10901	1160	1255	1160
q4	10295	776	787	776
q5	8835	3055	3002	3002
q6	207	127	125	125
q7	1090	628	588	588
q8	9458	2084	1983	1983
q9	7403	6723	6567	6567
q10	8464	3470	3544	3470
q11	430	227	224	224
q12	384	201	196	196
q13	17781	2865	2872	2865
q14	245	206	199	199
q15	524	471	461	461
q16	503	388	377	377
q17	954	530	585	530
q18	7135	6468	6542	6468
q19	1538	1410	1482	1410
q20	578	257	249	249
q21	3597	2887	2846	2846
q22	340	305	309	305
Total cold run time: 110383 ms
Total hot run time: 38062 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4050	4034	4042	4034
q2	322	240	232	232
q3	3015	2839	2824	2824
q4	1881	1530	1564	1530
q5	5299	5343	5334	5334
q6	193	115	118	115
q7	2254	1855	1849	1849
q8	3166	3377	3301	3301
q9	8734	8742	8689	8689
q10	3823	3778	3760	3760
q11	552	449	447	447
q12	741	545	542	542
q13	15467	2900	2885	2885
q14	281	247	254	247
q15	507	461	458	458
q16	483	426	434	426
q17	1722	1488	1459	1459
q18	7387	7169	7111	7111
q19	1581	1516	1441	1441
q20	1899	1735	1704	1704
q21	4842	4722	4675	4675
q22	558	447	456	447
Total cold run time: 68757 ms
Total hot run time: 53510 ms

@doris-robot
Copy link

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

query1	968	360	363	360
query2	7063	2014	1923	1923
query3	6706	207	210	207
query4	32023	21290	21475	21290
query5	4320	409	395	395
query6	280	186	172	172
query7	4638	289	289	289
query8	226	171	185	171
query9	9568	2346	2310	2310
query10	559	249	262	249
query11	17120	14239	14172	14172
query12	133	97	87	87
query13	1619	412	426	412
query14	10201	7616	7323	7323
query15	231	207	191	191
query16	8058	266	267	266
query17	1933	587	541	541
query18	2077	302	282	282
query19	248	157	153	153
query20	96	87	90	87
query21	204	131	129	129
query22	5045	4855	4800	4800
query23	33221	32784	32924	32784
query24	11927	2948	2864	2864
query25	651	385	389	385
query26	1846	160	159	159
query27	3229	353	363	353
query28	7908	1882	1878	1878
query29	1080	631	626	626
query30	321	151	151	151
query31	994	734	780	734
query32	104	60	60	60
query33	769	260	250	250
query34	1156	511	508	508
query35	854	615	624	615
query36	1045	895	886	886
query37	288	65	70	65
query38	3554	3461	3440	3440
query39	1524	1451	1434	1434
query40	294	113	109	109
query41	53	50	45	45
query42	108	98	94	94
query43	512	474	452	452
query44	1209	737	732	732
query45	267	262	229	229
query46	1134	711	703	703
query47	1937	1853	1900	1853
query48	447	359	352	352
query49	1230	329	332	329
query50	764	377	371	371
query51	6719	6686	6684	6684
query52	111	90	96	90
query53	351	273	277	273
query54	311	236	251	236
query55	86	77	76	76
query56	229	223	218	218
query57	1234	1182	1165	1165
query58	230	198	201	198
query59	2872	2800	2768	2768
query60	264	238	251	238
query61	96	91	93	91
query62	646	449	452	449
query63	310	279	272	272
query64	6714	3925	3968	3925
query65	3151	3024	3040	3024
query66	1427	361	356	356
query67	15370	14995	14957	14957
query68	6283	524	546	524
query69	610	381	376	376
query70	1200	1158	1169	1158
query71	462	257	270	257
query72	6337	2862	2701	2701
query73	728	326	328	326
query74	8039	6434	6392	6392
query75	3275	2228	2251	2228
query76	4328	930	913	913
query77	595	266	267	266
query78	10798	10098	10129	10098
query79	8573	534	528	528
query80	1969	418	392	392
query81	546	220	218	218
query82	1475	90	87	87
query83	337	149	152	149
query84	294	89	86	86
query85	1649	331	312	312
query86	474	302	312	302
query87	3738	3565	3553	3553
query88	4917	2314	2318	2314
query89	526	372	376	372
query90	1975	178	178	178
query91	178	135	139	135
query92	60	50	48	48
query93	7026	507	495	495
query94	1228	183	182	182
query95	434	334	334	334
query96	627	267	263	263
query97	2696	2492	2484	2484
query98	222	223	203	203
query99	1223	885	900	885
Total cold run time: 314685 ms
Total hot run time: 182049 ms

@doris-robot
Copy link

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

Load test result on commit 7babbb32d7e1f59ea294b11e639067b312c9389f with default session variables
Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
Stream load orc:          59 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      32 seconds loaded 861443392 Bytes, about 25 MB/s
Insert into select:       14.2 seconds inserted 10000000 Rows, about 704K ops/s

@zddr
Copy link
Contributor Author

zddr commented Mar 27, 2024

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17673	5913	4217	4217
q2	2866	161	156	156
q3	11583	1115	1184	1115
q4	10874	791	727	727
q5	8125	3092	3054	3054
q6	212	131	126	126
q7	1050	606	586	586
q8	9393	2019	2070	2019
q9	7435	6740	6574	6574
q10	8464	3469	3563	3469
q11	441	223	218	218
q12	371	199	197	197
q13	17801	2848	2853	2848
q14	251	199	203	199
q15	516	461	465	461
q16	515	376	369	369
q17	948	574	567	567
q18	7366	6471	6399	6399
q19	1610	1460	1408	1408
q20	555	263	254	254
q21	3534	2841	2968	2841
q22	359	301	311	301
Total cold run time: 111942 ms
Total hot run time: 38105 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4165	4126	4081	4081
q2	334	235	225	225
q3	2977	2817	2803	2803
q4	1868	1554	1527	1527
q5	5296	5310	5342	5310
q6	191	116	118	116
q7	2240	1851	1855	1851
q8	3168	3278	3267	3267
q9	8651	8689	8718	8689
q10	3742	3784	3765	3765
q11	549	434	447	434
q12	714	540	590	540
q13	16898	2868	2850	2850
q14	278	253	239	239
q15	498	467	465	465
q16	473	422	414	414
q17	1729	1476	1459	1459
q18	7384	7110	7014	7014
q19	1642	1616	1500	1500
q20	1939	1719	1731	1719
q21	4708	4509	4760	4509
q22	525	483	452	452
Total cold run time: 69969 ms
Total hot run time: 53229 ms

@doris-robot
Copy link

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

query1	976	358	355	355
query2	6529	1966	2009	1966
query3	6695	208	209	208
query4	31861	21393	21324	21324
query5	4303	394	402	394
query6	264	179	171	171
query7	4622	285	288	285
query8	227	165	176	165
query9	9132	2315	2307	2307
query10	555	250	245	245
query11	15428	14283	14248	14248
query12	137	94	88	88
query13	1636	408	418	408
query14	9825	7995	8020	7995
query15	332	198	190	190
query16	8245	272	267	267
query17	2144	575	555	555
query18	2108	291	284	284
query19	358	155	154	154
query20	96	89	88	88
query21	207	136	129	129
query22	5060	4853	4842	4842
query23	33564	32813	32925	32813
query24	11965	2852	2919	2852
query25	669	383	386	383
query26	1789	157	157	157
query27	3127	350	363	350
query28	7820	1905	1874	1874
query29	1047	661	617	617
query30	308	152	150	150
query31	1018	729	737	729
query32	92	58	56	56
query33	774	260	260	260
query34	1151	487	487	487
query35	839	620	624	620
query36	1041	904	864	864
query37	278	68	73	68
query38	3570	3416	3405	3405
query39	1473	1474	1442	1442
query40	293	114	110	110
query41	51	46	44	44
query42	104	96	91	91
query43	495	446	450	446
query44	1158	714	728	714
query45	276	256	261	256
query46	1124	728	710	710
query47	1898	1818	1842	1818
query48	421	362	355	355
query49	1222	332	319	319
query50	756	367	361	361
query51	6766	6596	6611	6596
query52	107	91	85	85
query53	341	272	271	271
query54	308	236	226	226
query55	84	75	74	74
query56	238	221	211	211
query57	1207	1148	1142	1142
query58	223	204	207	204
query59	2792	2514	2617	2514
query60	263	233	274	233
query61	100	95	95	95
query62	681	444	449	444
query63	301	274	273	273
query64	6717	4047	3788	3788
query65	3129	3007	3040	3007
query66	1419	365	361	361
query67	15136	15029	15052	15029
query68	5188	525	510	510
query69	542	391	382	382
query70	1240	1138	1159	1138
query71	382	266	259	259
query72	6478	2841	2696	2696
query73	707	314	320	314
query74	6785	6412	6381	6381
query75	2950	2212	2200	2200
query76	3011	928	891	891
query77	437	277	267	267
query78	10667	10208	10258	10208
query79	8114	538	557	538
query80	1531	396	380	380
query81	529	216	222	216
query82	888	89	90	89
query83	212	149	148	148
query84	290	87	84	84
query85	1545	320	313	313
query86	474	303	286	286
query87	3766	3496	3546	3496
query88	5197	2306	2304	2304
query89	525	359	374	359
query90	2001	172	176	172
query91	167	140	140	140
query92	66	48	49	48
query93	6273	489	475	475
query94	1163	172	172	172
query95	424	336	321	321
query96	620	268	269	268
query97	2628	2479	2456	2456
query98	230	227	206	206
query99	1239	913	919	913
Total cold run time: 305144 ms
Total hot run time: 182202 ms

@doris-robot
Copy link

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

Load test result on commit d935b904d62e100be430a38951587eebf5aafd68 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:       13.7 seconds inserted 10000000 Rows, about 729K ops/s

Copy link
Contributor

@zfr9527 zfr9527 left a comment

Choose a reason for hiding this comment

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

LGTM

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

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

@morrySnow morrySnow merged commit 2a82bb7 into apache:master Mar 28, 2024
28 of 30 checks passed
Jibing-Li added a commit that referenced this pull request Mar 29, 2024
* [fix](merge cloud) Fix cloud be set be tag map (#32864)

* [chore] Add gavinchou to collaborators (#32881)

* [chore](show) support statement to show views from table (#32358)

MySQL [test]> show views;
+----------------+
| Tables_in_test |
+----------------+
| t1_view        |
| t2_view        |
+----------------+
2 rows in set (0.00 sec)

MySQL [test]> show views like '%t1%';
+----------------+
| Tables_in_test |
+----------------+
| t1_view        |
+----------------+
1 row in set (0.01 sec)

MySQL [test]> show views where create_time > '2024-03-18';
+----------------+
| Tables_in_test |
+----------------+
| t2_view        |
+----------------+
1 row in set (0.02 sec)

* [Enhancement](ranger) Disable some permission operations when Ranger or LDAP are enabled (#32538)

Disable some permission operations when Ranger or LDAP are enabled.

* [chore](ci) exclude unstable trino_connector case (#32892)

Co-authored-by: stephen <[email protected]>

* [fix](Nereids) NPE when create table with implicit index type (#32893)

* [improvement](mtmv) Support more join types for query rewriting by materialized view (#32685)

This pattern of rewriting is supported for multi-table joins and supported join types is as following:

INNER JOIN
LEFT OUTER JOIN
RIGHT OUTER JOIN
FULL OUTER JOIN
LEFT SEMI JOIN
RIGHT SEMI JOIN
LEFT ANTI JOIN
RIGHT ANTI JOIN

* [Serde](Variant) support arrow serialization for varint type (#32780)

* [fix](multicatalog) fix no data error when read hive table on cosn (#32815)

Currently, when reading a hive on cosn table, doris return empty result, but the table has data.
iceberg on cosn is ok.
The reason is misuse of cosn's file sytem. according to cosn's doc, its fs.cosn.impl should be org.apache.hadoop.fs.CosFileSystem

* [fix](nereids)EliminateGroupByConstant should replace agg's output after removing constant group by keys (#32878)

* [Fix](executor)Fix regression test for test_active_queries/test_backend_active_tasks #32899

* [fix](iceberg) fix iceberg catalog bug and p2 test cases (#32898)

1. Fix iceberg catalog bug

    This PR #30198 change the logic of `IcebergHMSExternalCatalog.java`,
    to get locationUrl by calling hive metastore's `getCatalog()` method.
    But this method only exists in hive 3+. So it will fail if we using hive 2.x.

    I temporary remove this logic, because this logic is only used from iceberg table writing.
    Which is still under development. We will rethink this logic later.

2. Fix test cases

    Some of P2 test cases missed `order_qt`. And because the output format of the floating point
    type is changed, some result in `out` files need to be regenerated.

* [revert](jni) revert part of #32455 (#32904)

* [fix](spill) Avoid releasing resources while spill tasks are executing (#32783)

* [chore](log) print query id before logging profile in be.INFO (#32922)

* [fix](grace-exit) Stop incorrectly of reportwork cause heap use after free #32929

* [improvement](decommission be) decommission check replica num (#32748)

* [fix](arrow-flight) Fix reach limit of connections error (#32911)

Fix Reach limit of connections error
in fe.conf , arrow_flight_token_cache_size is mandatory less than qe_max_connection/2. arrow flight sql is a stateless protocol, connection is usually not actively disconnected, bearer token is evict from the cache will unregister ConnectContext.

Fix ConnectContext.command not be reset to COM_SLEEP in time, this will result in frequent kill connection after query timeout.

Fix bearer token evict log and exception.

TODO: use arrow flight session: https://mail.google.com/mail/u/0/#inbox/FMfcgzGxRdxBLQLTcvvtRpqsvmhrHpdH

* [bugfix](cloud) few variable not initialized (#32868)

../../cloud/src/recycler/meta_checker.cpp
can cause uninitialised memory read.

* [fix](arrow-flight) Fix arrow flight sql compatible with JDK 17 and upgrade arrow 15.0.2 (#32796)

--add-opens=java.base/java.nio=ALL-UNNAMED, see: https://arrow.apache.org/docs/java/install.html#java-compatibility
groovy use flight sql connection to execute query SUM(MAX(c1) OVER (PARTITION BY)) report error: AGGREGATE clause must not contain analytic expressions, but no problem in Java execute it with jdbc::arrow-flight-sql.
groovy not support print arrow array type, throw IndexOutOfBoundsException.
"arrow_flight_sql" not support two phase read
./run-regression-test.sh --run --clean -g arrow_flight_sql

* [fix](spill) SpillStream's writer maybe may not have been finalized (#32931)

* [improvement](spill) Disable DistinctStreamingAgg when spill is enabled (#32932)

* [Improve](inverted_index) update clucene and improve array inverted index writer  (#32436)

* [Performance](exec) replace SipHash in function by XXHash (#32919)

* [feature](agg) add aggregate function sum0 (#32541)

* [improvement](mtmv) Support to get tables in materialized view when collecting table in plan (#32797)

Support to get tables in materialized view when collecting table in plan

table scehma as fllowing:

create materialized view mv1
BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
DISTRIBUTED BY RANDOM BUCKETS 1 
PROPERTIES ('replication_num' = '1')
 as 
select 
  t1.c1, 
  t3.c2 
from 
  table1 t1 
  inner join table3 t3 on t1.c1 = t3.c2

if get table from the plan as follwoing, we can get [table1, table3, table2], the mv1 is expanded to get base tables;

SELECT 
  mv1.*, 
  uuid() 
FROM 
  mv1 LEFT SEMI 
  JOIN table2 ON mv1.c1 = table2.c1 
WHERE 
  mv1.c1 IN (
    SELECT 
      c1 
    FROM 
      table2
  ) 
  OR mv1.c1 < 10

* [enhance](mtmv)support olap table partition column is null (#32698)

* [enhancement](cloud) add table version to cloud (#32738)

Add table version to cloud.

In Fe:
Get: If Fe is cloud mode, get table version from meta service.
Update: Op drop/replace temp partition, commit transaction.

In meta service:
Add: create Index. init value is 1.
Remove: by recycler.
Update: commit/drop partition rpc, commit txn rpc. Atomic++.

* [fix](cloud) schema change from not null to null (#32913)

1. Use equals instead of == for type comparing
2. null bitmap size is reisze by size of ref column.

* [feature](Nereids): add ColumnPruningPostProcessor. (#32800)

* [case](rowpolicy)fix row policy has been exist (#32880)

* [fix](pipeline) fix use error row desc when origin block clear (#32803)

* [fix](Nereids) support variant column with index when create table (#32948)

* [opt](Nereids) support create table with variant type (#32953)

* [test](insert-overwrite) Add insert overwrite auto detect concurrency cases (#32935)

* [fix](compile) fe cannot compile in idea (#32955)

* [enhancement](plsql) Support select * from routines (#32866)

Support show of plsql procedure using select * from routines.

* [fix](trino-connector) fix `NoClassDefFoundError` of hudi `Utils` class (#32846)

Due to the change of this PR #32455 , the `trino-connector-scanner` package cannot access the `hudi_scanner` package, so the exception NoclassDeffounderror will appear.

We need to write a separate Utils class.

* [exec](column) change some complex column move to noexcept (#32954)

* [Enhancement](data skew) extends show data skew (#32732)

* [chore](test) let suite compatible with Nereids (#32964)

* Support identical column name in different index. (#32792)

* Limit the max string length to 1024 while collecting column stats to control BE memory usage. (#32470)

* [fix](merge-iterator) fix NOT_IMPLEMENTED_ERROR when read next block view (#32961)

* [improvement](executor)Add tag property for workload group #32874

* [fix](auth)unified workload and resource permission logic (#32907)

- `Grant resource` can no longer grant global `usage_priv`
-  `grant resource %` instead of `grant resource *`

before change:
```
grant usage_priv on resource * to f;
show grants for f\G
*************************** 1. row ***************************
      UserIdentity: 'f'@'%'
           Comment: 
          Password: No
             Roles: 
       GlobalPrivs: Usage_priv 
      CatalogPrivs: NULL
     DatabasePrivs: internal.information_schema: Select_priv ; internal.mysql: Select_priv 
        TablePrivs: NULL
          ColPrivs: NULL
     ResourcePrivs: NULL
 CloudClusterPrivs: NULL
WorkloadGroupPrivs: normal: Usage_priv 
```
after change
```
grant usage_priv on resource '%' to f;
show grants for f\G
*************************** 1. row ***************************
      UserIdentity: 'f'@'%'
           Comment: 
          Password: No
             Roles: 
       GlobalPrivs: NULL
      CatalogPrivs: NULL
     DatabasePrivs: internal.information_schema: Select_priv ; internal.mysql: Select_priv 
        TablePrivs: NULL
          ColPrivs: NULL
     ResourcePrivs: %: Usage_priv 
 CloudClusterPrivs: NULL
WorkloadGroupPrivs: normal: Usage_priv 

```

---------

Co-authored-by: yujun <[email protected]>
Co-authored-by: Gavin Chou <[email protected]>
Co-authored-by: xy720 <[email protected]>
Co-authored-by: yongjinhou <[email protected]>
Co-authored-by: Dongyang Li <[email protected]>
Co-authored-by: stephen <[email protected]>
Co-authored-by: morrySnow <[email protected]>
Co-authored-by: seawinde <[email protected]>
Co-authored-by: lihangyu <[email protected]>
Co-authored-by: Yulei-Yang <[email protected]>
Co-authored-by: starocean999 <[email protected]>
Co-authored-by: wangbo <[email protected]>
Co-authored-by: Mingyu Chen <[email protected]>
Co-authored-by: Jerry Hu <[email protected]>
Co-authored-by: zhiqiang <[email protected]>
Co-authored-by: Xinyi Zou <[email protected]>
Co-authored-by: Vallish Pai <[email protected]>
Co-authored-by: amory <[email protected]>
Co-authored-by: HappenLee <[email protected]>
Co-authored-by: Jensen <[email protected]>
Co-authored-by: zhangdong <[email protected]>
Co-authored-by: Yongqiang YANG <[email protected]>
Co-authored-by: jakevin <[email protected]>
Co-authored-by: Mryange <[email protected]>
Co-authored-by: zclllyybb <[email protected]>
Co-authored-by: Tiewei Fang <[email protected]>
Co-authored-by: Xin Liao <[email protected]>
@yiguolei yiguolei mentioned this pull request Apr 26, 2024
1 task
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. reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants