xuefuz commented on a change in pull request #10296: [FLINK-14691][table]Add 
use/create/drop/alter database operation and support it in flink/blink planner
URL: https://github.com/apache/flink/pull/10296#discussion_r349855935
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveMetastoreClientWrapper.java
 ##########
 @@ -149,6 +149,11 @@ public void dropDatabase(String name, boolean deleteData, 
boolean ignoreIfNotExi
                client.dropDatabase(name, deleteData, ignoreIfNotExists);
        }
 
+       public void dropDatabase(String name, boolean deleteData, boolean 
ignoreIfNotExists, boolean cascade)
+                       throws NoSuchObjectException, 
InvalidOperationException, MetaException, TException {
+               client.dropDatabase(name, deleteData, ignoreIfNotExists, 
cascade);
 
 Review comment:
   We need to check the availability of this API in every supported Hive 
versions.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to