deniskuzZ commented on code in PR #4616:
URL: https://github.com/apache/hive/pull/4616#discussion_r1394740673
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -2312,14 +2314,19 @@ private Table convertToTable(MTable mtbl) throws
MetaException {
} else {
tableType = TableType.MANAGED_TABLE.toString();
}
+ } else {
+ if (!tableType.equals(TableType.MANAGED_TABLE.toString()) &&
!tableType.equals(TableType.EXTERNAL_TABLE.toString())) {
Review Comment:
why not be specific?
````
TableType.MATERIALIZED_VIEW.toString().equals(tableType) ||
TableType.VIRTUAL_VIEW.toString().equals(tableType)
````
--
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]