masfworld commented on code in PR #14927:
URL: https://github.com/apache/iceberg/pull/14927#discussion_r2733113134
##########
core/src/main/java/org/apache/iceberg/rest/ErrorHandlers.java:
##########
@@ -287,8 +299,9 @@ public void accept(ErrorResponse error) {
case 403:
throw new ForbiddenException("Forbidden: %s", error.message());
case 405:
- case 406:
break;
+ case 406:
+ throw new UnsupportedOperationException(error.message());
Review Comment:
Because it was specified
[here](https://github.com/apache/iceberg/blob/3f749736193cb6d4ae844873d98ad47ff3f640d9/core/src/test/java/org/apache/iceberg/rest/RESTCatalogAdapter.java#L105)
but as you mentioned before it's something to discuss in other PR
--
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]