pvary commented on code in PR #3287:
URL: https://github.com/apache/hive/pull/3287#discussion_r881415324


##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -6505,4 +6505,15 @@ public StorageHandlerInfo getStorageHandlerInfo(Table 
table)
       throw new HiveException(e);
     }
   }
+
+  public void alterTableExecuteOperation(Table table, AlterTableExecuteSpec 
executeSpec) throws HiveException {
+    try {
+      HiveStorageHandler storageHandler = 
createStorageHandler(table.getTTable());
+      if (storageHandler.supportsExecuteOperations()) {

Review Comment:
   Shall we throw an exception if the feature is not supported by the table?



-- 
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]

Reply via email to