danielcweeks commented on code in PR #12014: URL: https://github.com/apache/iceberg/pull/12014#discussion_r1943508673
########## core/src/main/java/org/apache/iceberg/view/BaseMetastoreViewCatalog.java: ########## @@ -67,6 +71,31 @@ public View loadView(TableIdentifier identifier) { throw new NoSuchViewException("Invalid view identifier: %s", identifier); } + @Override + public Table loadTable(TableIdentifier identifier) { + try { + return super.loadTable(identifier); + } catch (NoSuchTableException e) { + return loadViewMetadataTable(identifier); Review Comment: Similar to the other comment. I don't feel this is the right way to handle metadata tables for views. It should be handled as part of the metadata table fallback logic. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org