xuzifu666 commented on code in PR #4863:
URL: https://github.com/apache/paimon/pull/4863#discussion_r1908638074


##########
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java:
##########
@@ -668,6 +668,10 @@ public org.apache.paimon.table.Table 
getDataOrFormatTable(Identifier identifier)
                                     identifier),
                             metastoreClientFactory(identifier).orElse(null)));
         } catch (TableNotExistException ignore) {
+            // do not drop format table, since non paimon table throws 
TableNotExistException too
+            if (isPaimonTable(table)) {

Review Comment:
   Why not put it to finally?



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

Reply via email to