dengzhhu653 commented on code in PR #4319:
URL: https://github.com/apache/hive/pull/4319#discussion_r1199544150
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -4109,7 +4110,7 @@ private List<Partition> add_partitions_core(final
RawStore ms, String catName,
+ TableName.getQualified(catName, dbName, tblName) +
" does not exist");
}
-
+ MTable mTable = getMS().ensureGetMTable(catName, dbName, tblName);
Review Comment:
nit: could we use something like `ObjectStore.convertToMTable` to get a
`MTable` from `tbl` instance? For example, adding a
`MetaStoreServerUtils.convertToMTable(RawStore, Table)` instead of introducing
the `ensureGetMTable` API in `RawStore`.
--
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]