alessandro-nori commented on code in PR #15051:
URL: https://github.com/apache/iceberg/pull/15051#discussion_r2719052355
##########
core/src/main/java/org/apache/iceberg/rest/ErrorHandlers.java:
##########
@@ -138,6 +142,26 @@ public void accept(ErrorResponse error) {
}
}
+ /** Table create error handler */
+ private static class CreateTableErrorHandler extends TableErrorHandler {
Review Comment:
we also need to override 404 because it should be `NoSuchNamespaceException`
for create-table instead of `NoSuchTableException`.
I like your approach better because CreateTableErrorHandler should be used
in case of a Commit
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]