wecharyu commented on code in PR #5256:
URL: https://github.com/apache/hive/pull/5256#discussion_r1609225498


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java:
##########
@@ -548,6 +548,16 @@ public void addPartitions(List<MPartition> parts, 
List<List<MPartitionPrivilege>
    */
   public List<Partition> alterPartitions(MTable table, List<String> partNames,
                                          List<Partition> newParts, String 
queryWriteIdList) throws MetaException {
+
+    for (Partition tmpPart : newParts) {

Review Comment:
   Can we move this common check into `ObjectStore#alterPartitions`?



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