dengzhhu653 commented on code in PR #6267:
URL: https://github.com/apache/hive/pull/6267#discussion_r3083885143
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -694,6 +694,9 @@ private void rollbackTransactionToSavePoint(String
savePoint) {
@Override
public void createCatalog(Catalog cat) throws MetaException {
LOG.debug("Creating catalog {}", cat);
+
+ ensureCatalogType(cat);
Review Comment:
can we uplift the check to `HMSHandler#create_catalog`?
--
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]