nastra commented on code in PR #7487:
URL: https://github.com/apache/iceberg/pull/7487#discussion_r1184579388
##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -300,15 +300,13 @@ public Table loadTable(SessionContext context,
TableIdentifier identifier) {
response = loadInternal(context, identifier, snapshotMode);
loadedIdent = identifier;
metadataType = null;
-
} catch (NoSuchTableException original) {
metadataType = MetadataTableType.from(identifier.name());
if (metadataType != null) {
// attempt to load a metadata table using the identifier's namespace
as the base table
- TableIdentifier baseIdent =
TableIdentifier.of(identifier.namespace().levels());
+ loadedIdent = TableIdentifier.of(identifier.namespace().levels());
Review Comment:
I've reverted those changes
--
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]