rdblue commented on code in PR #10929:
URL: https://github.com/apache/iceberg/pull/10929#discussion_r1715630744
##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -393,6 +438,15 @@ private LoadTableResponse loadInternal(
@Override
public Table loadTable(SessionContext context, TableIdentifier identifier) {
+ if (!endpoints.contains(ResourcePaths.V1_LOAD_TABLE)) {
+ throw new NoSuchViewException(
Review Comment:
Looks like the wrong exception class.
--
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]