mchades commented on code in PR #9103:
URL: https://github.com/apache/gravitino/pull/9103#discussion_r2522050173
##########
catalogs/catalog-generic-lakehouse/src/main/java/org/apache/gravitino/catalog/lakehouse/GenericLakehouseCatalogOperations.java:
##########
@@ -307,7 +307,16 @@ public Table createTable(
ident, columns, comment, newProperties, partitions, distribution,
sortOrders, indexes);
} catch (EntityAlreadyExistsException e) {
throw new TableAlreadyExistsException(e, "Table %s already exists",
ident);
- } catch (IOException e) {
+ } catch (Exception e) {
Review Comment:
yes, the latter will make the code logic clearer and avoid unnecessary calls.
--
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]