lcspinter commented on code in PR #3287:
URL: https://github.com/apache/hive/pull/3287#discussion_r887922632
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/AbstractBaseAlterTableAnalyzer.java:
##########
@@ -161,7 +161,8 @@ protected void validateAlterTableType(Table table,
AlterTableType op, boolean ex
}
if (table.isNonNative() && table.getStorageHandler() != null) {
if (!table.getStorageHandler().isAllowedAlterOperation(op) ||
Review Comment:
Yes, you are right, all this can be combined into isAllowedAlterOperation()
--
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]