bowenli86 commented on a change in pull request #8329: [FLINK-12239][hive] 
Support table related operations in GenericHiveMetastoreCatalog
URL: https://github.com/apache/flink/pull/8329#discussion_r280238806
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/GenericHiveMetastoreCatalog.java
 ##########
 @@ -229,31 +231,91 @@ public void alterDatabase(String name, CatalogDatabase 
newDatabase, boolean igno
        @Override
        public void dropTable(ObjectPath tablePath, boolean ignoreIfNotExists)
                        throws TableNotExistException, CatalogException {
-               throw new UnsupportedOperationException();
+               try {
+                       client.dropTable(tablePath.getDatabaseName(), 
tablePath.getObjectName(), true, ignoreIfNotExists);
 
 Review comment:
   sure

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to