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

[feature](multi-catalog)support hms catalog create and drop table/db #30198

Merged
merged 19 commits into from
Feb 27, 2024

Conversation

wsjz
Copy link
Contributor

@wsjz wsjz commented Jan 22, 2024

Proposed changes

Issue #31442

  1. rename old create/drop table to add/removeMemoryTable
  2. add new create/drop table/db method
  3. support hms catalog create/drop table/db

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

@wsjz wsjz force-pushed the hms_create_meta branch 6 times, most recently from dd8497f to b4b4ed1 Compare February 2, 2024 09:27
@wsjz wsjz marked this pull request as ready for review February 4, 2024 07:40
@wsjz wsjz force-pushed the hms_create_meta branch 7 times, most recently from 592caf3 to 34e51bd Compare February 5, 2024 07:41
@doris-robot
Copy link

TPC-DS: Total hot run time: 176529 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 1231f6410ae5dd83de00e5249a5c48bfee54ac88, data reload: false

query1	926	345	347	345
query2	6540	1765	1935	1765
query3	6700	213	197	197
query4	23027	21064	21174	21064
query5	4261	376	377	376
query6	276	170	167	167
query7	4621	301	290	290
query8	246	203	199	199
query9	8456	2830	2814	2814
query10	421	230	231	230
query11	14949	14452	14382	14382
query12	142	87	78	78
query13	1702	416	426	416
query14	9331	7587	7650	7587
query15	209	187	189	187
query16	7528	259	245	245
query17	1407	544	526	526
query18	1961	265	264	264
query19	192	145	148	145
query20	85	79	81	79
query21	187	122	123	122
query22	4929	4782	4746	4746
query23	32463	31644	31532	31532
query24	12758	3443	3347	3347
query25	650	364	353	353
query26	1818	152	152	152
query27	3070	308	314	308
query28	6588	1821	1808	1808
query29	1135	614	606	606
query30	271	139	143	139
query31	924	750	755	750
query32	97	62	55	55
query33	730	228	224	224
query34	1116	493	496	493
query35	933	831	824	824
query36	951	880	896	880
query37	139	62	62	62
query38	3291	3142	3164	3142
query39	1358	1326	1309	1309
query40	284	107	108	107
query41	40	37	41	37
query42	107	103	99	99
query43	487	463	435	435
query44	1081	675	693	675
query45	198	175	173	173
query46	1054	779	761	761
query47	1667	1566	1582	1566
query48	421	346	347	346
query49	1170	301	302	301
query50	760	376	374	374
query51	4380	4289	4324	4289
query52	116	89	101	89
query53	394	298	299	298
query54	311	228	235	228
query55	85	81	79	79
query56	217	208	195	195
query57	1048	949	947	947
query58	211	188	202	188
query59	2339	2234	2221	2221
query60	239	215	209	209
query61	82	80	81	80
query62	600	374	354	354
query63	328	289	274	274
query64	6380	3073	3112	3073
query65	3283	3269	3246	3246
query66	1357	322	322	322
query67	14735	14499	14362	14362
query68	5099	535	539	535
query69	521	347	355	347
query70	1276	1175	1168	1168
query71	441	254	248	248
query72	6302	2777	2601	2601
query73	695	309	313	309
query74	6849	6515	6481	6481
query75	3203	2583	2546	2546
query76	3265	1119	1207	1119
query77	346	237	234	234
query78	9429	8838	8729	8729
query79	981	520	490	490
query80	499	350	355	350
query81	442	204	205	204
query82	159	84	86	84
query83	139	121	116	116
query84	226	77	80	77
query85	1007	348	338	338
query86	293	301	297	297
query87	3497	3262	3319	3262
query88	2736	2302	2279	2279
query89	433	352	357	352
query90	1885	160	162	160
query91	160	131	125	125
query92	55	48	50	48
query93	1009	512	505	505
query94	1167	178	178	178
query95	443	329	340	329
query96	568	266	263	263
query97	4440	4272	4279	4272
query98	217	206	195	195
query99	1054	754	752	752
Total cold run time: 268598 ms
Total hot run time: 176529 ms

@doris-robot
Copy link

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

query1	0.03	0.02	0.02
query2	0.06	0.02	0.02
query3	0.22	0.08	0.07
query4	1.62	0.09	0.09
query5	0.48	0.47	0.48
query6	1.39	0.62	0.63
query7	0.02	0.01	0.01
query8	0.04	0.02	0.02
query9	0.54	0.47	0.47
query10	0.49	0.48	0.48
query11	0.14	0.09	0.09
query12	0.13	0.10	0.10
query13	0.60	0.59	0.58
query14	0.77	0.79	0.79
query15	0.82	0.79	0.80
query16	0.33	0.33	0.33
query17	0.90	0.88	0.90
query18	0.18	0.18	0.18
query19	1.77	1.67	1.70
query20	0.02	0.01	0.01
query21	15.39	0.67	0.59
query22	3.55	4.01	2.72
query23	17.21	1.06	0.94
query24	2.14	0.61	0.12
query25	0.47	0.07	0.05
query26	0.15	0.14	0.13
query27	0.07	0.05	0.05
query28	12.14	0.83	0.81
query29	12.58	3.27	3.26
query30	0.55	0.48	0.47
query31	2.77	0.35	0.36
query32	3.33	0.47	0.48
query33	3.11	3.15	3.16
query34	15.35	4.47	4.53
query35	4.51	4.49	4.44
query36	1.06	0.96	0.95
query37	0.07	0.05	0.04
query38	0.04	0.03	0.04
query39	0.02	0.01	0.01
query40	0.17	0.15	0.14
query41	0.08	0.02	0.02
query42	0.02	0.01	0.02
query43	0.03	0.01	0.02
Total cold run time: 105.36 s
Total hot run time: 30.92 s

@doris-robot
Copy link

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

Load test result on commit 1231f6410ae5dd83de00e5249a5c48bfee54ac88 with default session variables
Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
Stream load orc:          60 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       15.9 seconds inserted 10000000 Rows, about 628K ops/s

morningman
morningman previously approved these changes Feb 26, 2024
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -2216,6 +2216,21 @@ public class Config extends ConfigBase {
"Sample size for hive row count estimation."})
public static int hive_stats_partition_sample_size = 3000;

@ConfField(mutable = true, masterOnly = true, description = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Modify thess config in your next PR

@wsjz
Copy link
Contributor Author

wsjz commented Feb 26, 2024

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18101	4150	4101	4101
q2	2213	141	135	135
q3	12247	966	950	950
q4	6692	964	943	943
q5	8311	2947	3048	2947
q6	177	120	118	118
q7	1233	753	743	743
q8	9246	2006	2033	2006
q9	7224	6307	6333	6307
q10	8183	2490	2489	2489
q11	421	220	195	195
q12	716	312	307	307
q13	17948	3200	3210	3200
q14	270	246	246	246
q15	531	503	493	493
q16	474	404	421	404
q17	927	903	890	890
q18	6558	5950	5899	5899
q19	1580	1507	1512	1507
q20	559	278	267	267
q21	6583	3567	3586	3567
q22	796	285	276	276
Total cold run time: 110990 ms
Total hot run time: 37990 ms

----- Round 2, with runtime_filter_mode=off -----
q1	3978	3968	3979	3968
q2	316	212	214	212
q3	2968	2938	2904	2904
q4	1864	1821	1827	1821
q5	5116	5082	5135	5082
q6	199	114	116	114
q7	2114	1673	1740	1673
q8	3132	3175	3182	3175
q9	8262	8267	8209	8209
q10	6236	3660	3644	3644
q11	510	424	423	423
q12	675	529	508	508
q13	3874	3087	3075	3075
q14	262	257	257	257
q15	540	494	496	494
q16	510	473	458	458
q17	1680	1680	1667	1667
q18	7857	7649	7283	7283
q19	1656	1639	1638	1638
q20	2099	1904	1885	1885
q21	4825	4708	4609	4609
q22	522	443	443	443
Total cold run time: 59195 ms
Total hot run time: 53542 ms

@doris-robot
Copy link

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

query1	949	340	327	327
query2	6528	1869	1793	1793
query3	6932	206	204	204
query4	23647	20526	20441	20441
query5	4246	359	356	356
query6	267	171	169	169
query7	4616	302	308	302
query8	266	183	210	183
query9	8460	2209	2212	2209
query10	425	226	207	207
query11	14495	14263	14229	14229
query12	134	79	83	79
query13	1638	444	431	431
query14	8273	6566	6690	6566
query15	213	175	176	175
query16	7091	257	263	257
query17	1037	525	508	508
query18	1899	266	272	266
query19	189	149	152	149
query20	89	79	81	79
query21	198	128	125	125
query22	4745	4607	4584	4584
query23	30502	29791	29851	29791
query24	10964	3024	3111	3024
query25	629	364	348	348
query26	1701	153	164	153
query27	3025	318	322	318
query28	7004	1803	1780	1780
query29	1130	557	555	555
query30	275	129	140	129
query31	871	687	684	684
query32	90	60	59	59
query33	718	230	223	223
query34	1033	484	489	484
query35	851	746	754	746
query36	950	848	881	848
query37	132	60	61	60
query38	3082	3072	2951	2951
query39	1301	1239	1252	1239
query40	278	100	99	99
query41	37	37	34	34
query42	101	96	100	96
query43	448	415	409	409
query44	1073	695	712	695
query45	189	175	174	174
query46	1038	808	802	802
query47	1512	1478	1439	1439
query48	414	345	339	339
query49	1185	297	284	284
query50	766	379	378	378
query51	4329	4250	4306	4250
query52	103	94	84	84
query53	330	270	264	264
query54	301	227	228	227
query55	88	88	84	84
query56	221	201	200	200
query57	957	848	898	848
query58	209	198	200	198
query59	2188	2130	2099	2099
query60	248	214	225	214
query61	95	88	86	86
query62	588	347	357	347
query63	285	251	256	251
query64	6576	3042	3114	3042
query65	3242	3197	3202	3197
query66	1453	321	319	319
query67	14413	14177	13935	13935
query68	4914	568	582	568
query69	541	381	389	381
query70	1235	1252	1213	1213
query71	384	250	252	250
query72	6258	2797	2643	2643
query73	710	327	340	327
query74	6286	5943	5990	5943
query75	3040	2412	2376	2376
query76	2808	1017	1173	1017
query77	359	234	227	227
query78	9131	8544	8534	8534
query79	990	530	530	530
query80	538	369	356	356
query81	457	193	205	193
query82	164	83	84	83
query83	147	124	120	120
query84	265	78	85	78
query85	1039	357	346	346
query86	300	299	296	296
query87	3250	3088	3112	3088
query88	2769	2388	2402	2388
query89	376	327	314	314
query90	1842	162	161	161
query91	146	123	124	123
query92	56	47	50	47
query93	1015	515	513	513
query94	1150	181	185	181
query95	439	337	342	337
query96	578	271	270	270
query97	4236	4135	4145	4135
query98	219	201	214	201
query99	1001	669	661	661
Total cold run time: 259905 ms
Total hot run time: 169325 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.06	0.02	0.03
query3	0.24	0.06	0.05
query4	1.67	0.10	0.09
query5	0.52	0.52	0.51
query6	1.23	0.68	0.68
query7	0.01	0.01	0.01
query8	0.03	0.03	0.02
query9	0.57	0.52	0.52
query10	0.57	0.56	0.59
query11	0.12	0.09	0.10
query12	0.12	0.10	0.10
query13	0.62	0.60	0.62
query14	0.78	0.82	0.79
query15	0.86	0.83	0.81
query16	0.37	0.38	0.38
query17	0.98	0.98	0.98
query18	0.26	0.25	0.24
query19	1.86	1.74	1.66
query20	0.01	0.01	0.01
query21	15.45	0.68	0.60
query22	2.92	4.34	2.17
query23	17.64	1.13	0.96
query24	2.00	0.37	0.56
query25	0.47	0.20	0.06
query26	0.18	0.15	0.15
query27	0.06	0.05	0.03
query28	12.03	0.86	0.82
query29	12.70	3.27	3.38
query30	0.56	0.56	0.49
query31	2.78	0.34	0.34
query32	3.39	0.48	0.48
query33	3.21	3.19	3.21
query34	15.34	4.76	4.73
query35	4.76	4.74	4.78
query36	1.15	1.08	1.07
query37	0.07	0.05	0.05
query38	0.05	0.03	0.03
query39	0.02	0.02	0.02
query40	0.16	0.13	0.13
query41	0.06	0.02	0.02
query42	0.02	0.01	0.02
query43	0.02	0.03	0.02
Total cold run time: 105.96 s
Total hot run time: 31.9 s

@doris-robot
Copy link

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

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

@wsjz
Copy link
Contributor Author

wsjz commented Feb 26, 2024

run p0

Copy link
Contributor

PR approved by anyone and no changes requested.

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

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

@morningman morningman merged commit b2e869c into apache:master Feb 27, 2024
28 of 31 checks passed
morningman pushed a commit that referenced this pull request Feb 28, 2024
…30198) (#31499)

1. rename old create/drop table to add/removeMemoryTable
2. add new create/drop table/db method
3. support hms catalog create/drop table/db

(cherry picked from commit b2e869c)
morningman pushed a commit to morningman/doris that referenced this pull request Mar 17, 2024
…pache#30198)

1. rename old create/drop table to add/removeMemoryTable
2. add new create/drop table/db method
3. support hms catalog create/drop table/db
@wsjz wsjz deleted the hms_create_meta branch March 22, 2024 07:42
morningman added a commit that referenced this pull request Mar 27, 2024
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.
morningman added a commit that referenced this pull request Mar 27, 2024
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.
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]>
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.0-merged meta-change reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants