dailai commented on code in PR #7728:
URL: https://github.com/apache/seatunnel/pull/7728#discussion_r1774360933


##########
seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java:
##########
@@ -161,6 +164,25 @@ public void createTable(TablePath tablePath, CatalogTable 
table, boolean ignoreI
             throw new TableAlreadyExistException(this.catalogName, tablePath);
         } catch (org.apache.paimon.catalog.Catalog.DatabaseNotExistException 
e) {
             throw new DatabaseNotExistException(this.catalogName, 
tablePath.getDatabaseName());
+        } catch (Exception e) {

Review Comment:
   The suggestion is to extract a method to handle the exception, which is 
weird and not very readable.



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