dengzhhu653 commented on code in PR #6198:
URL: https://github.com/apache/hive/pull/6198#discussion_r2766764770


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java:
##########
@@ -3424,4 +3604,14 @@ long updateTableParam(Table table, String key, String 
expectedValue, String newV
     Query query = pm.newQuery("javax.jdo.query.SQL", statement);
     return (long) query.executeWithArray(newValue, table.getId(), key, 
expectedValue);
   }
+
+  long updatePartitionParam(Long partitionID, String key, String 
expectedValue, String newValue) {
+    String statement = TxnUtils.createUpdatePreparedStmt(

Review Comment:
   how about update the partitions in batch?



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

Reply via email to