lirui-apache commented on a change in pull request #8720: [FLINK-12771][hive] 
Support ConnectorCatalogTable in HiveCatalog
URL: https://github.com/apache/flink/pull/8720#discussion_r294663869
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/HiveCatalog.java
 ##########
 @@ -313,6 +327,19 @@ public void createTable(ObjectPath tablePath, 
CatalogBaseTable table, boolean ig
                        throw new DatabaseNotExistException(getName(), 
tablePath.getDatabaseName());
                }
 
+               if (table instanceof ConnectorCatalogTable) {
+
+                       if (tableExists(tablePath)) {
 
 Review comment:
   I think we'll need some synchronization here if we want to achieve thread 
safety.

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