aturoczy commented on code in PR #4470:
URL: https://github.com/apache/hive/pull/4470#discussion_r1256195725
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -4445,7 +4444,20 @@ public int add_partitions_pspec(final
List<PartitionSpec> partSpecs)
catName = partSpecs.get(0).getCatName();
}
- return add_partitions_pspec_core(getMS(), catName, dbName, tableName,
partSpecs, false);
+ Integer ret = null;
+ Exception ex = null;
+ try {
+ startTableFunction("add_partitions_pspec", catName, dbName, tableName);
Review Comment:
I would put the startTableFunction outside of the try block.
--
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]