Skip to content

Conversation

@xinyiZzz
Copy link
Contributor

@xinyiZzz xinyiZzz commented Mar 25, 2024

Proposed changes

  1. --add-opens=java.base/java.nio=ALL-UNNAMED, see: https://arrow.apache.org/docs/java/install.html#java-compatibility
  2. 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.
  3. groovy not support print arrow array type, throw IndexOutOfBoundsException.
  4. "arrow_flight_sql" not support two phase read

./run-regression-test.sh --run --clean -g arrow_flight_sql

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org 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.

@xinyiZzz xinyiZzz changed the title [fix](arrow-flight) Fix arrow flight sql compatible with JDK 11 [fix](arrow-flight) Fix arrow flight sql compatible with JDK 11 and upgrade arrow 15.0.2 Mar 25, 2024
@xinyiZzz
Copy link
Contributor Author

run buildall

2 similar comments
@xinyiZzz
Copy link
Contributor Author

run buildall

@xinyiZzz
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17661	4172	4072	4072
q2	2112	162	156	156
q3	10579	1179	1203	1179
q4	10231	711	676	676
q5	7458	2965	2977	2965
q6	200	125	123	123
q7	1043	596	563	563
q8	9331	2007	1984	1984
q9	7160	6571	6524	6524
q10	8448	3410	3578	3410
q11	431	229	214	214
q12	364	208	198	198
q13	17807	2867	2827	2827
q14	226	204	203	203
q15	520	460	454	454
q16	491	387	375	375
q17	945	514	659	514
q18	7012	6517	6436	6436
q19	4738	1411	1443	1411
q20	549	267	255	255
q21	3529	2756	2970	2756
q22	348	298	296	296
Total cold run time: 111183 ms
Total hot run time: 37591 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4152	4121	4074	4074
q2	326	227	228	227
q3	2950	2849	2834	2834
q4	1835	1607	1528	1528
q5	5285	5336	5328	5328
q6	196	118	118	118
q7	2216	1822	1856	1822
q8	3154	3255	3261	3255
q9	8658	8654	8648	8648
q10	3797	3753	3798	3753
q11	539	440	445	440
q12	729	539	559	539
q13	16915	2863	2825	2825
q14	281	257	257	257
q15	507	469	474	469
q16	503	440	426	426
q17	1714	1500	1469	1469
q18	7445	7109	7107	7107
q19	2806	1516	1536	1516
q20	1928	1740	1693	1693
q21	4737	4543	4555	4543
q22	545	458	470	458
Total cold run time: 71218 ms
Total hot run time: 53329 ms

@doris-robot
Copy link

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

query1	926	364	356	356
query2	6555	1844	1848	1844
query3	6711	217	218	217
query4	31765	21310	21280	21280
query5	4311	409	407	407
query6	270	178	171	171
query7	4635	286	299	286
query8	229	176	179	176
query9	9472	2359	2379	2359
query10	565	245	249	245
query11	15292	14167	14284	14167
query12	136	88	87	87
query13	1634	409	417	409
query14	11279	7521	7672	7521
query15	242	196	195	195
query16	7885	267	270	267
query17	1940	585	567	567
query18	1332	295	282	282
query19	233	154	160	154
query20	102	85	93	85
query21	196	132	133	132
query22	4997	4809	4826	4809
query23	33675	32725	32721	32721
query24	11048	2922	2857	2857
query25	618	394	392	392
query26	731	158	162	158
query27	2264	349	364	349
query28	6254	1934	1927	1927
query29	891	673	620	620
query30	304	153	153	153
query31	993	746	747	746
query32	88	60	59	59
query33	777	255	273	255
query34	1097	493	487	487
query35	844	613	622	613
query36	1049	863	907	863
query37	97	70	62	62
query38	3481	3497	3424	3424
query39	1470	1472	1448	1448
query40	205	115	112	112
query41	54	49	52	49
query42	105	94	97	94
query43	480	451	431	431
query44	1175	741	724	724
query45	286	269	266	266
query46	1115	735	708	708
query47	1928	1830	1844	1830
query48	467	355	352	352
query49	1113	340	326	326
query50	768	377	381	377
query51	6794	6774	6819	6774
query52	103	88	95	88
query53	350	281	289	281
query54	308	238	246	238
query55	86	78	77	77
query56	239	228	231	228
query57	1201	1148	1128	1128
query58	230	216	226	216
query59	2759	2614	2603	2603
query60	267	242	250	242
query61	116	114	112	112
query62	681	454	449	449
query63	312	282	282	282
query64	5516	4161	3975	3975
query65	3087	3033	3049	3033
query66	954	371	365	365
query67	15164	14965	14600	14600
query68	7091	527	524	524
query69	630	378	385	378
query70	1240	1125	1139	1125
query71	509	265	267	265
query72	6396	2732	2556	2556
query73	732	315	330	315
query74	7966	6441	6398	6398
query75	3408	2213	2200	2200
query76	4993	861	857	857
query77	651	263	254	254
query78	10965	10229	10257	10229
query79	9838	522	521	521
query80	1799	377	376	376
query81	524	212	217	212
query82	645	88	84	84
query83	222	146	145	145
query84	290	81	83	81
query85	1248	324	323	323
query86	417	278	309	278
query87	3770	3552	3512	3512
query88	4697	2390	2399	2390
query89	511	364	373	364
query90	2030	177	176	176
query91	170	138	134	134
query92	62	47	47	47
query93	6749	502	487	487
query94	1219	180	180	180
query95	429	344	342	342
query96	627	276	280	276
query97	2627	2472	2489	2472
query98	227	213	211	211
query99	1189	924	894	894
Total cold run time: 306122 ms
Total hot run time: 181716 ms

@doris-robot
Copy link

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

Load test result on commit ee2ee085ec9e0ac82028da0d0579d1b37fd04e46 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:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       20.6 seconds inserted 10000000 Rows, about 485K ops/s

@xinyiZzz
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17875	4222	4111	4111
q2	2127	157	152	152
q3	10622	1154	1240	1154
q4	10770	767	830	767
q5	7473	3092	3023	3023
q6	202	130	123	123
q7	1030	588	572	572
q8	9344	2054	2060	2054
q9	7163	6630	6622	6622
q10	8355	3471	3640	3471
q11	426	217	213	213
q12	372	201	195	195
q13	17798	2903	2858	2858
q14	233	207	220	207
q15	507	471	453	453
q16	465	377	375	375
q17	958	550	648	550
q18	7295	6577	6472	6472
q19	1553	1466	1515	1466
q20	584	242	239	239
q21	3672	3059	2898	2898
q22	354	318	296	296
Total cold run time: 109178 ms
Total hot run time: 38271 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4066	4113	4097	4097
q2	326	226	227	226
q3	2994	2831	2882	2831
q4	1875	1554	1616	1554
q5	5329	5361	5368	5361
q6	194	116	114	114
q7	2222	1866	1833	1833
q8	3189	3303	3314	3303
q9	8802	8765	8759	8759
q10	3786	3753	3805	3753
q11	536	460	442	442
q12	703	546	555	546
q13	16895	2865	2864	2864
q14	293	247	259	247
q15	495	459	456	456
q16	461	436	422	422
q17	1755	1501	1460	1460
q18	7475	7223	7123	7123
q19	1614	1575	1513	1513
q20	1926	1744	1739	1739
q21	4975	4675	4596	4596
q22	562	480	467	467
Total cold run time: 70473 ms
Total hot run time: 53706 ms

@doris-robot
Copy link

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

query1	929	374	369	369
query2	6544	1941	1784	1784
query3	6704	218	224	218
query4	31914	21383	21324	21324
query5	4351	406	401	401
query6	273	185	181	181
query7	4633	294	291	291
query8	226	175	180	175
query9	9414	2274	2268	2268
query10	554	249	258	249
query11	15584	14289	14240	14240
query12	130	88	86	86
query13	1633	433	413	413
query14	9550	7870	7900	7870
query15	239	196	201	196
query16	8158	270	266	266
query17	1947	581	549	549
query18	2085	295	278	278
query19	280	160	166	160
query20	99	88	89	88
query21	199	125	129	125
query22	4995	4837	4769	4769
query23	33345	32636	32721	32636
query24	12070	2810	2887	2810
query25	652	394	395	394
query26	1797	157	157	157
query27	2995	357	356	356
query28	7454	1885	1869	1869
query29	1050	660	622	622
query30	312	149	149	149
query31	961	728	722	722
query32	100	61	56	56
query33	774	260	259	259
query34	997	497	500	497
query35	837	627	615	615
query36	1008	913	875	875
query37	269	65	65	65
query38	3596	3429	3450	3429
query39	1493	1462	1403	1403
query40	314	129	127	127
query41	54	48	52	48
query42	105	98	100	98
query43	491	453	451	451
query44	1242	729	744	729
query45	291	266	265	265
query46	1116	715	727	715
query47	1913	1850	1847	1847
query48	459	357	355	355
query49	1237	345	347	345
query50	768	377	375	375
query51	6709	6697	6605	6605
query52	109	92	95	92
query53	350	284	283	283
query54	330	244	243	243
query55	91	78	81	78
query56	256	234	233	233
query57	1214	1117	1135	1117
query58	239	214	215	214
query59	2732	2555	2599	2555
query60	280	255	258	255
query61	117	118	113	113
query62	666	451	458	451
query63	306	282	281	281
query64	6510	4210	4042	4042
query65	3082	3019	3011	3011
query66	1411	374	349	349
query67	15307	14679	14754	14679
query68	9177	545	546	545
query69	667	386	380	380
query70	1370	1170	1181	1170
query71	505	272	267	267
query72	6854	2745	2544	2544
query73	1570	332	323	323
query74	8040	6426	6368	6368
query75	3847	2223	2221	2221
query76	5717	933	893	893
query77	645	267	262	262
query78	10792	10259	10138	10138
query79	9276	525	520	520
query80	1229	378	372	372
query81	503	210	216	210
query82	238	84	87	84
query83	215	149	145	145
query84	283	79	78	78
query85	1061	323	314	314
query86	354	321	299	299
query87	3713	3577	3514	3514
query88	4815	2397	2366	2366
query89	487	370	365	365
query90	2061	176	175	175
query91	168	135	139	135
query92	60	47	48	47
query93	5731	498	479	479
query94	1323	176	173	173
query95	424	335	332	332
query96	620	280	275	275
query97	2642	2465	2490	2465
query98	218	220	207	207
query99	1080	893	908	893
Total cold run time: 313535 ms
Total hot run time: 181729 ms

@doris-robot
Copy link

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

Load test result on commit e38d317dea9de8d080d787403b3944f5e30480cc 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:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       20.6 seconds inserted 10000000 Rows, about 485K ops/s

@xinyiZzz xinyiZzz force-pushed the 20240325_fix_arrow_flight branch from e38d317 to 381198d Compare March 26, 2024 11:31
@xinyiZzz
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17612	4408	4160	4160
q2	2120	162	153	153
q3	10807	1193	1230	1193
q4	10590	803	863	803
q5	7812	3062	3027	3027
q6	217	127	125	125
q7	1065	627	593	593
q8	9750	2089	2028	2028
q9	7488	6761	6735	6735
q10	8921	3597	3665	3597
q11	438	231	222	222
q12	414	206	199	199
q13	17790	2854	2896	2854
q14	249	204	206	204
q15	513	487	479	479
q16	504	376	375	375
q17	963	584	600	584
q18	7310	6485	6470	6470
q19	1572	1473	1507	1473
q20	544	251	252	251
q21	3651	3016	2926	2926
q22	350	306	319	306
Total cold run time: 110680 ms
Total hot run time: 38757 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4119	4080	4088	4080
q2	327	231	231	231
q3	3001	2855	2866	2855
q4	1928	1618	1582	1582
q5	5328	5372	5335	5335
q6	199	116	116	116
q7	2280	1812	1862	1812
q8	3204	3314	3299	3299
q9	8766	8741	8783	8741
q10	3826	3744	3812	3744
q11	547	451	446	446
q12	715	581	573	573
q13	13276	2902	2883	2883
q14	278	246	262	246
q15	500	457	459	457
q16	482	439	447	439
q17	1741	1486	1497	1486
q18	7445	7106	7302	7106
q19	1618	1521	1460	1460
q20	1913	1735	1706	1706
q21	4935	4713	4859	4713
q22	535	455	440	440
Total cold run time: 66963 ms
Total hot run time: 53750 ms

@xinyiZzz
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17630	4257	4153	4153
q2	2118	161	159	159
q3	10595	1209	1252	1209
q4	11621	755	888	755
q5	7584	3125	3122	3122
q6	209	127	127	127
q7	1068	626	602	602
q8	9552	2045	2064	2045
q9	7431	6788	6729	6729
q10	9540	3578	3674	3578
q11	444	228	225	225
q12	396	209	210	209
q13	18470	2853	2836	2836
q14	230	201	206	201
q15	503	472	471	471
q16	507	373	371	371
q17	981	554	565	554
q18	7325	6433	6463	6433
q19	1689	1538	1417	1417
q20	554	282	245	245
q21	3558	3071	2978	2978
q22	350	303	298	298
Total cold run time: 112355 ms
Total hot run time: 38717 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4136	4123	4095	4095
q2	324	229	233	229
q3	2967	2785	2826	2785
q4	1875	1560	1562	1560
q5	5313	5371	5375	5371
q6	196	116	116	116
q7	2272	1869	1888	1869
q8	3187	3337	3333	3333
q9	8775	8799	8769	8769
q10	3799	3796	3856	3796
q11	549	440	448	440
q12	713	530	533	530
q13	16941	2866	2866	2866
q14	284	245	260	245
q15	506	470	468	468
q16	473	436	437	436
q17	1744	1512	1515	1512
q18	7530	7265	7058	7058
q19	1614	1512	1505	1505
q20	1899	1734	1707	1707
q21	4833	4683	4726	4683
q22	546	458	467	458
Total cold run time: 70476 ms
Total hot run time: 53831 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 181298 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 381198d40267ac498c5f1931e97663e861f3b145, data reload: false

query1	937	369	356	356
query2	6533	1997	1915	1915
query3	6705	219	220	219
query4	31870	21400	21288	21288
query5	4309	410	417	410
query6	294	186	168	168
query7	4647	299	295	295
query8	231	167	167	167
query9	9216	2244	2229	2229
query10	563	236	249	236
query11	15294	14278	14308	14278
query12	137	87	87	87
query13	1619	415	404	404
query14	9830	7655	7590	7590
query15	245	204	204	204
query16	8015	281	267	267
query17	1922	570	550	550
query18	2043	299	285	285
query19	250	163	159	159
query20	92	86	90	86
query21	197	127	125	125
query22	5018	4820	4830	4820
query23	33011	33022	32592	32592
query24	12087	2855	2871	2855
query25	649	381	394	381
query26	1783	157	159	157
query27	3075	349	365	349
query28	7456	1870	1859	1859
query29	1068	660	621	621
query30	308	152	151	151
query31	984	728	744	728
query32	93	58	57	57
query33	790	255	249	249
query34	1122	473	491	473
query35	846	610	607	607
query36	1029	902	901	901
query37	269	62	69	62
query38	3562	3468	3424	3424
query39	1475	1441	1408	1408
query40	313	113	118	113
query41	52	49	48	48
query42	105	99	96	96
query43	483	449	445	445
query44	1223	727	731	727
query45	288	274	272	272
query46	1116	725	707	707
query47	1891	1807	1858	1807
query48	443	350	358	350
query49	1229	333	334	333
query50	751	367	368	367
query51	6715	6615	6579	6579
query52	110	87	88	87
query53	340	277	275	275
query54	316	239	226	226
query55	81	81	87	81
query56	241	224	227	224
query57	1252	1116	1148	1116
query58	230	192	200	192
query59	2735	2522	2688	2522
query60	269	238	242	238
query61	100	98	95	95
query62	654	453	451	451
query63	310	282	275	275
query64	6776	3888	3980	3888
query65	3109	3025	3036	3025
query66	1436	365	346	346
query67	15377	15221	14862	14862
query68	5725	518	530	518
query69	594	394	402	394
query70	1252	1178	1136	1136
query71	461	265	284	265
query72	6339	2830	2717	2717
query73	708	321	324	321
query74	7943	6379	6340	6340
query75	3128	2172	2193	2172
query76	4060	856	898	856
query77	645	273	260	260
query78	10812	10216	10054	10054
query79	8472	526	517	517
query80	1684	389	389	389
query81	504	223	215	215
query82	785	93	87	87
query83	228	150	153	150
query84	288	88	84	84
query85	1530	385	313	313
query86	453	290	294	290
query87	3758	3509	3569	3509
query88	5087	2378	2370	2370
query89	504	370	377	370
query90	1984	172	171	171
query91	170	138	142	138
query92	64	47	46	46
query93	6934	496	480	480
query94	1114	174	174	174
query95	427	328	328	328
query96	613	273	279	273
query97	2688	2519	2489	2489
query98	234	211	214	211
query99	1239	919	902	902
Total cold run time: 307946 ms
Total hot run time: 181298 ms

@doris-robot
Copy link

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

Load test result on commit 381198d40267ac498c5f1931e97663e861f3b145 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:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       21.4 seconds inserted 10000000 Rows, about 467K ops/s

@xinyiZzz
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17650	4232	4106	4106
q2	2106	155	150	150
q3	10590	1202	1208	1202
q4	10224	766	828	766
q5	7471	2981	2970	2970
q6	197	121	123	121
q7	1024	593	563	563
q8	9351	1963	1954	1954
q9	7243	6588	6559	6559
q10	8409	3450	3576	3450
q11	428	238	216	216
q12	395	198	190	190
q13	17795	2848	2842	2842
q14	240	216	203	203
q15	504	474	463	463
q16	489	368	367	367
q17	949	615	564	564
q18	7159	6456	6378	6378
q19	3151	1443	1447	1443
q20	542	245	257	245
q21	3512	2904	2848	2848
q22	348	293	296	293
Total cold run time: 109777 ms
Total hot run time: 37893 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4165	4096	4130	4096
q2	325	231	236	231
q3	2987	2894	2781	2781
q4	1832	1576	1581	1576
q5	5333	5313	5314	5313
q6	196	120	122	120
q7	2229	1873	1821	1821
q8	3155	3267	3271	3267
q9	8672	8654	8687	8654
q10	3785	3778	3712	3712
q11	549	454	448	448
q12	720	527	565	527
q13	16922	2875	2842	2842
q14	280	247	261	247
q15	506	457	465	457
q16	478	420	423	420
q17	1736	1496	1455	1455
q18	7626	7116	7064	7064
q19	1612	1562	1511	1511
q20	1906	1722	1712	1712
q21	4688	4589	4702	4589
q22	506	475	462	462
Total cold run time: 70208 ms
Total hot run time: 53305 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 180617 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 85cebc72c13389e63a5b8403eb9b8344da8df018, data reload: false

query1	961	363	368	363
query2	6846	2066	1818	1818
query3	6713	228	222	222
query4	31574	21236	21442	21236
query5	4310	411	407	407
query6	264	175	174	174
query7	4627	302	297	297
query8	235	175	174	174
query9	9390	2270	2268	2268
query10	553	253	262	253
query11	17151	14283	14215	14215
query12	135	88	86	86
query13	1623	434	423	423
query14	10048	7030	7621	7030
query15	248	199	203	199
query16	8065	270	257	257
query17	1931	562	548	548
query18	2039	273	272	272
query19	247	150	148	148
query20	91	86	85	85
query21	207	124	125	124
query22	4944	4808	4796	4796
query23	33425	32546	32775	32546
query24	10760	2910	2869	2869
query25	610	361	372	361
query26	1157	156	157	156
query27	2475	355	356	355
query28	6991	1924	1899	1899
query29	917	660	629	629
query30	306	149	149	149
query31	1014	723	748	723
query32	90	56	56	56
query33	762	256	248	248
query34	1106	487	494	487
query35	807	623	599	599
query36	1036	899	869	869
query37	129	66	66	66
query38	3588	3378	3418	3378
query39	1462	1444	1425	1425
query40	212	117	114	114
query41	51	48	46	46
query42	100	96	101	96
query43	482	445	442	442
query44	1209	738	743	738
query45	281	255	243	243
query46	1106	711	726	711
query47	1954	1858	1854	1854
query48	457	357	360	357
query49	1133	342	349	342
query50	775	371	380	371
query51	6654	6538	6613	6538
query52	103	94	97	94
query53	357	284	275	275
query54	306	249	233	233
query55	90	81	80	80
query56	254	222	230	222
query57	1200	1165	1157	1157
query58	238	208	208	208
query59	2775	2632	2673	2632
query60	272	245	251	245
query61	128	113	110	110
query62	652	458	456	456
query63	302	276	277	276
query64	5826	4131	4163	4131
query65	3098	3029	3038	3029
query66	866	372	364	364
query67	15558	15049	14749	14749
query68	8990	546	540	540
query69	675	381	383	381
query70	1411	1127	1171	1127
query71	509	269	276	269
query72	7132	2708	2523	2523
query73	1643	323	326	323
query74	7557	6493	6305	6305
query75	3698	2227	2210	2210
query76	5271	909	928	909
query77	677	254	263	254
query78	10884	9999	10277	9999
query79	11429	530	523	523
query80	1786	372	373	372
query81	508	217	213	213
query82	242	88	84	84
query83	213	145	145	145
query84	287	83	76	76
query85	1102	318	303	303
query86	365	309	291	291
query87	3718	3537	3463	3463
query88	5584	2437	2397	2397
query89	481	376	368	368
query90	1991	178	181	178
query91	183	136	138	136
query92	70	46	48	46
query93	6039	502	484	484
query94	1301	179	180	179
query95	435	336	322	322
query96	610	272	270	270
query97	2642	2499	2485	2485
query98	228	213	210	210
query99	1174	909	922	909
Total cold run time: 314111 ms
Total hot run time: 180617 ms

@doris-robot
Copy link

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

Load test result on commit 85cebc72c13389e63a5b8403eb9b8344da8df018 with default session variables
Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 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

@xinyiZzz xinyiZzz changed the title [fix](arrow-flight) Fix arrow flight sql compatible with JDK 11 and upgrade arrow 15.0.2 [fix](arrow-flight) Fix arrow flight sql compatible with JDK 17 and upgrade arrow 15.0.2 Mar 27, 2024
@xinyiZzz xinyiZzz force-pushed the 20240325_fix_arrow_flight branch from 85cebc7 to 25e6aa3 Compare March 27, 2024 03:12
@xinyiZzz
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17613	4346	4098	4098
q2	2118	158	170	158
q3	10706	1175	1185	1175
q4	10553	711	716	711
q5	7472	3030	3020	3020
q6	203	122	122	122
q7	1035	572	575	572
q8	9348	2039	1994	1994
q9	7655	6639	6584	6584
q10	8457	3491	3558	3491
q11	442	218	218	218
q12	444	201	191	191
q13	17796	2820	2891	2820
q14	231	211	198	198
q15	510	474	479	474
q16	507	376	373	373
q17	961	522	614	522
q18	7324	6448	6453	6448
q19	1569	1456	1415	1415
q20	548	258	271	258
q21	3649	2944	2854	2854
q22	344	293	305	293
Total cold run time: 109485 ms
Total hot run time: 37989 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4078	4083	4027	4027
q2	329	239	232	232
q3	2981	2840	2818	2818
q4	1836	1568	1573	1568
q5	5359	5331	5376	5331
q6	198	115	117	115
q7	2244	1872	1805	1805
q8	3171	3327	3349	3327
q9	8748	8707	8710	8707
q10	3793	3845	3770	3770
q11	539	441	440	440
q12	727	568	540	540
q13	15881	2849	2835	2835
q14	280	256	245	245
q15	503	465	469	465
q16	465	408	424	408
q17	1720	1497	1481	1481
q18	7408	7300	7170	7170
q19	1603	1487	1441	1441
q20	1911	1712	1728	1712
q21	4864	4549	4546	4546
q22	548	457	440	440
Total cold run time: 69186 ms
Total hot run time: 53423 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.24% (8738/24795)
Line Coverage: 27.03% (71524/264635)
Region Coverage: 26.28% (37118/141266)
Branch Coverage: 23.17% (18974/81898)
Coverage Report: http://coverage.selectdb-in.cc/coverage/25e6aa3677834145f1b4a113489bb936b83f1603_25e6aa3677834145f1b4a113489bb936b83f1603/report/index.html

@doris-robot
Copy link

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

Load test result on commit 2cf3c978ece76f92a9e4e42b05f1a1aa0f1aad11 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:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       13.4 seconds inserted 10000000 Rows, about 746K ops/s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.24% (8739/24796)
Line Coverage: 27.03% (71529/264655)
Region Coverage: 26.27% (37110/141277)
Branch Coverage: 23.16% (18973/81908)
Coverage Report: http://coverage.selectdb-in.cc/coverage/2cf3c978ece76f92a9e4e42b05f1a1aa0f1aad11_2cf3c978ece76f92a9e4e42b05f1a1aa0f1aad11/report/index.html

@xinyiZzz xinyiZzz force-pushed the 20240325_fix_arrow_flight branch from 2cf3c97 to caae636 Compare March 27, 2024 11:22
@xinyiZzz
Copy link
Contributor Author

run buildall

@xinyiZzz xinyiZzz force-pushed the 20240325_fix_arrow_flight branch from caae636 to 015bb7a Compare March 27, 2024 11:24
@xinyiZzz
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17621	4202	4102	4102
q2	2111	164	151	151
q3	10581	1195	1189	1189
q4	10230	813	862	813
q5	7481	2994	2987	2987
q6	200	124	123	123
q7	1041	583	578	578
q8	9349	1968	1967	1967
q9	7044	6558	6563	6558
q10	8458	3481	3567	3481
q11	437	224	220	220
q12	365	197	192	192
q13	17780	2887	2832	2832
q14	237	202	206	202
q15	513	475	454	454
q16	516	371	379	371
q17	951	561	588	561
q18	7116	6382	6341	6341
q19	2995	1371	1387	1371
q20	565	257	251	251
q21	3500	2796	2934	2796
q22	346	303	311	303
Total cold run time: 109437 ms
Total hot run time: 37843 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4090	4080	4128	4080
q2	330	228	229	228
q3	2979	2819	2811	2811
q4	1841	1545	1547	1545
q5	5253	5318	5319	5318
q6	200	116	118	116
q7	2216	1876	1837	1837
q8	3153	3304	3283	3283
q9	8666	8626	8666	8626
q10	3801	3810	3774	3774
q11	554	461	446	446
q12	711	508	561	508
q13	16933	2870	2841	2841
q14	288	264	247	247
q15	496	477	467	467
q16	475	413	431	413
q17	1716	1479	1462	1462
q18	7303	7050	7212	7050
q19	1634	1559	1510	1510
q20	1920	1723	1722	1722
q21	4871	4837	4796	4796
q22	541	463	466	463
Total cold run time: 69971 ms
Total hot run time: 53543 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 182084 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 015bb7a67f6203322a61e755728766e68e66c779, data reload: false

query1	953	373	361	361
query2	6545	2022	1945	1945
query3	6706	213	212	212
query4	32488	22160	21641	21641
query5	5689	414	408	408
query6	984	214	179	179
query7	6757	296	299	296
query8	478	201	178	178
query9	10619	2387	2371	2371
query10	568	261	281	261
query11	15578	14196	14243	14196
query12	139	95	90	90
query13	1620	417	420	417
query14	9590	7530	7925	7530
query15	309	205	197	197
query16	8224	263	263	263
query17	2152	591	551	551
query18	2102	281	283	281
query19	347	154	162	154
query20	95	87	89	87
query21	206	131	129	129
query22	5090	4868	4883	4868
query23	33341	32706	32811	32706
query24	10721	2899	2855	2855
query25	597	371	373	371
query26	929	155	156	155
query27	2306	349	353	349
query28	6715	1904	1897	1897
query29	834	630	593	593
query30	300	147	147	147
query31	970	747	742	742
query32	90	53	55	53
query33	754	242	239	239
query34	1123	475	490	475
query35	829	603	600	600
query36	999	887	888	887
query37	122	63	63	63
query38	3519	3471	3451	3451
query39	1458	1456	1429	1429
query40	203	112	107	107
query41	49	49	44	44
query42	103	96	102	96
query43	481	448	436	436
query44	1112	717	709	709
query45	279	262	255	255
query46	1115	721	677	677
query47	1934	1844	1845	1844
query48	470	358	370	358
query49	1091	345	335	335
query50	745	370	372	370
query51	6642	6665	6600	6600
query52	103	91	85	85
query53	338	271	276	271
query54	298	231	224	224
query55	80	79	77	77
query56	244	229	230	229
query57	1205	1138	1156	1138
query58	238	206	212	206
query59	2798	2621	2633	2621
query60	268	255	244	244
query61	113	112	114	112
query62	671	456	453	453
query63	303	275	275	275
query64	5708	4133	4065	4065
query65	3116	3083	3037	3037
query66	882	372	366	366
query67	15446	14950	14837	14837
query68	5738	516	530	516
query69	581	381	390	381
query70	1209	1158	1155	1155
query71	445	266	266	266
query72	7080	2851	2571	2571
query73	724	317	313	313
query74	7395	6415	6270	6270
query75	3051	2212	2207	2207
query76	3889	959	939	939
query77	612	264	254	254
query78	10782	10352	10090	10090
query79	8694	532	529	529
query80	2034	388	362	362
query81	564	220	220	220
query82	1571	81	86	81
query83	286	139	138	138
query84	278	80	72	72
query85	1582	343	310	310
query86	481	292	281	281
query87	3699	3455	3523	3455
query88	5152	2407	2407	2407
query89	535	371	366	366
query90	1918	172	177	172
query91	170	138	140	138
query92	60	49	47	47
query93	7243	504	496	496
query94	1236	180	178	178
query95	442	327	332	327
query96	612	291	279	279
query97	2679	2459	2458	2458
query98	229	217	213	213
query99	1195	895	905	895
Total cold run time: 311047 ms
Total hot run time: 182084 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.25% (8741/24796)
Line Coverage: 27.03% (71548/264670)
Region Coverage: 26.28% (37130/141288)
Branch Coverage: 23.17% (18982/81916)
Coverage Report: http://coverage.selectdb-in.cc/coverage/015bb7a67f6203322a61e755728766e68e66c779_015bb7a67f6203322a61e755728766e68e66c779/report/index.html

@doris-robot
Copy link

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

Load test result on commit 015bb7a67f6203322a61e755728766e68e66c779 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

@xinyiZzz
Copy link
Contributor Author

run buildall

@xinyiZzz
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17611	4248	4120	4120
q2	2107	162	154	154
q3	10596	1143	1218	1143
q4	10539	740	794	740
q5	7470	3014	2992	2992
q6	201	121	122	121
q7	1089	600	559	559
q8	9343	2006	1971	1971
q9	7200	6639	6561	6561
q10	8377	3478	3556	3478
q11	425	225	218	218
q12	370	199	195	195
q13	17786	2857	2853	2853
q14	232	205	205	205
q15	503	466	457	457
q16	471	378	373	373
q17	936	650	546	546
q18	7293	6318	6430	6318
q19	1549	1378	1478	1378
q20	559	254	260	254
q21	3523	2882	2828	2828
q22	360	304	298	298
Total cold run time: 108540 ms
Total hot run time: 37762 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4088	4095	4046	4046
q2	317	231	231	231
q3	2982	2885	2852	2852
q4	1837	1564	1554	1554
q5	5289	5355	5311	5311
q6	190	115	115	115
q7	2208	1854	1835	1835
q8	3154	3307	3284	3284
q9	8692	8728	8659	8659
q10	3799	3830	3752	3752
q11	544	447	456	447
q12	712	550	534	534
q13	15083	2862	2827	2827
q14	276	266	264	264
q15	505	462	454	454
q16	465	430	420	420
q17	1744	1515	1469	1469
q18	7449	7083	7295	7083
q19	1610	1568	1527	1527
q20	1933	1728	1712	1712
q21	4804	4688	4796	4688
q22	525	464	466	464
Total cold run time: 68206 ms
Total hot run time: 53528 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 182189 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 73ee55bcd56d01f23499e64f29ca33b67bdc8f9f, data reload: false

query1	931	375	361	361
query2	6530	1999	2035	1999
query3	6705	213	217	213
query4	31661	21529	21280	21280
query5	4292	394	393	393
query6	272	176	175	175
query7	4629	286	296	286
query8	237	171	174	171
query9	9369	2327	2309	2309
query10	583	263	258	258
query11	17286	14178	14317	14178
query12	149	93	88	88
query13	1624	412	412	412
query14	10073	8003	7570	7570
query15	254	191	199	191
query16	8123	263	257	257
query17	1945	611	562	562
query18	2051	294	290	290
query19	361	154	155	154
query20	94	86	92	86
query21	202	130	124	124
query22	5079	4820	4813	4813
query23	33361	32925	32922	32922
query24	10775	2847	2870	2847
query25	621	379	389	379
query26	1534	157	158	157
query27	2957	355	369	355
query28	7751	1860	1885	1860
query29	982	646	646	646
query30	300	150	153	150
query31	981	734	749	734
query32	90	57	59	57
query33	769	254	258	254
query34	1049	495	501	495
query35	846	628	607	607
query36	1003	919	924	919
query37	127	66	66	66
query38	3528	3435	3418	3418
query39	1469	1451	1467	1451
query40	213	116	114	114
query41	53	48	47	47
query42	115	101	102	101
query43	477	453	452	452
query44	1192	751	750	750
query45	276	266	278	266
query46	1120	701	709	701
query47	1908	1856	1843	1843
query48	437	363	358	358
query49	1183	339	346	339
query50	768	374	374	374
query51	6748	6576	6566	6566
query52	126	86	101	86
query53	346	278	278	278
query54	317	235	229	229
query55	85	76	90	76
query56	241	228	215	215
query57	1200	1151	1166	1151
query58	234	211	201	201
query59	2760	2631	2706	2631
query60	268	233	242	233
query61	96	95	94	94
query62	645	449	437	437
query63	300	272	269	269
query64	6130	4104	3995	3995
query65	3079	3035	3067	3035
query66	1030	369	355	355
query67	15589	15158	14903	14903
query68	5633	513	527	513
query69	563	381	375	375
query70	1263	1175	1180	1175
query71	409	270	255	255
query72	6387	2752	2534	2534
query73	710	313	317	313
query74	7924	6373	6466	6373
query75	3020	2246	2199	2199
query76	3492	890	907	890
query77	388	273	265	265
query78	10899	10295	10170	10170
query79	7161	525	529	525
query80	1613	394	393	393
query81	569	225	216	216
query82	981	90	84	84
query83	316	151	149	149
query84	289	86	83	83
query85	2080	376	363	363
query86	504	298	294	294
query87	3780	3540	3507	3507
query88	5136	2337	2312	2312
query89	469	364	386	364
query90	2022	178	178	178
query91	170	137	134	134
query92	63	52	49	49
query93	5229	498	493	493
query94	1242	179	177	177
query95	450	340	341	340
query96	616	277	281	277
query97	2650	2450	2485	2450
query98	230	219	212	212
query99	1171	948	941	941
Total cold run time: 304958 ms
Total hot run time: 182189 ms

@doris-robot
Copy link

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

Load test result on commit 73ee55bcd56d01f23499e64f29ca33b67bdc8f9f 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:      33 seconds loaded 861443392 Bytes, about 24 MB/s
Insert into select:       13.9 seconds inserted 10000000 Rows, about 719K ops/s

Copy link
Contributor

@wangbo wangbo 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
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 28, 2024
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@xinyiZzz xinyiZzz merged commit b5dc1e4 into apache:master Mar 28, 2024
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 <hello-stephen@qq.com>

* [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 <yu.jun.reach@gmail.com>
Co-authored-by: Gavin Chou <gavineaglechou@gmail.com>
Co-authored-by: xy720 <22125576+xy720@users.noreply.github.com>
Co-authored-by: yongjinhou <109586248+yongjinhou@users.noreply.github.com>
Co-authored-by: Dongyang Li <hello_stephen@qq.com>
Co-authored-by: stephen <hello-stephen@qq.com>
Co-authored-by: morrySnow <101034200+morrySnow@users.noreply.github.com>
Co-authored-by: seawinde <149132972+seawinde@users.noreply.github.com>
Co-authored-by: lihangyu <15605149486@163.com>
Co-authored-by: Yulei-Yang <yulei.yang0699@gmail.com>
Co-authored-by: starocean999 <40539150+starocean999@users.noreply.github.com>
Co-authored-by: wangbo <wangbo@apache.org>
Co-authored-by: Mingyu Chen <morningman@163.com>
Co-authored-by: Jerry Hu <mrhhsg@gmail.com>
Co-authored-by: zhiqiang <seuhezhiqiang@163.com>
Co-authored-by: Xinyi Zou <zouxinyi02@gmail.com>
Co-authored-by: Vallish Pai <vallishpai@gmail.com>
Co-authored-by: amory <wangqiannan@selectdb.com>
Co-authored-by: HappenLee <happenlee@hotmail.com>
Co-authored-by: Jensen <czjourney@163.com>
Co-authored-by: zhangdong <493738387@qq.com>
Co-authored-by: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com>
Co-authored-by: jakevin <jakevingoo@gmail.com>
Co-authored-by: Mryange <59914473+Mryange@users.noreply.github.com>
Co-authored-by: zclllyybb <zhaochangle@selectdb.com>
Co-authored-by: Tiewei Fang <43782773+BePPPower@users.noreply.github.com>
Co-authored-by: Xin Liao <liaoxinbit@126.com>
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