plusplusjiajia commented on code in PR #2651:
URL: https://github.com/apache/iceberg-rust/pull/2651#discussion_r3415280180
##########
crates/catalog/rest/src/catalog.rs:
##########
@@ -1062,9 +1057,12 @@ impl Catalog for RestCatalog {
}
};
+ // Reload for a credentialed FileIO (commit response carries no
credentials).
let file_io = self
- .load_file_io(Some(&response.metadata_location), None)
- .await?;
+ .load_table(commit.identifier())
Review Comment:
@xanderbailey Good point — update_table no longer reloads. It builds FileIO
from the commit response, and the transaction layer reuses the credentialed
FileIO it already holds (do_commit + new Table::with_file_io). Back to one GET
per commit.
--
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]