wecharyu commented on code in PR #6179:
URL: https://github.com/apache/hive/pull/6179#discussion_r2658823586
##########
standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java:
##########
@@ -632,7 +634,14 @@ static Object addManyPartitions(@NotNull HMSClient client,
@NotNull List<String> arguments,
int npartitions) throws TException {
Table table = client.getTable(dbName, tableName);
- client.addPartitions(createManyPartitions(table, parameters, arguments,
npartitions));
Review Comment:
Need add partitions in batch because it may hit the max thrift message size
for huge partition size.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]