dailai commented on code in PR #7728:
URL: https://github.com/apache/seatunnel/pull/7728#discussion_r1772481632
##########
seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java:
##########
@@ -161,6 +163,22 @@ 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) {
+ if (e.getCause() instanceof UnsupportedOperationException) {
Review Comment:
If it throw a UnsupportedOperationException, it's must be a Paimon primary
key datatype is unsupported?
--
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]