danielcweeks commented on code in PR #12014:
URL: https://github.com/apache/iceberg/pull/12014#discussion_r1943504087
##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -462,6 +463,26 @@ private LoadTableResponse loadInternal(
@Override
public Table loadTable(SessionContext context, TableIdentifier identifier) {
+ try {
+ return loadTableInternal(context, identifier);
+ } catch (NoSuchTableException original) {
Review Comment:
I don't think is the right way to fallback to loading the metadata table.
If you look at the current fallback logic metadata tables, we should attempt
loading in that same path.
--
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]