plusplusjiajia opened a new pull request, #3784:
URL: https://github.com/apache/iceberg-rust/pull/3784

   ## Which issue does this PR close?
   
   Follow-up to #2651 ([review 
thread](https://github.com/apache/iceberg-rust/pull/2651#discussion_r4400728825)).
   
   ## What changes are included in this PR?
   
   `Transaction::commit` returns the table that `Catalog::update_table` builds. 
A REST commit response carries no storage credentials, so that table's FileIO 
lacks the credentials `load_table` vended, and scans or further transactions on 
it run without them.
   
   `do_commit` now keeps the FileIO the actions ran with on the committed 
table, as Java's `TableOperations` keeps its FileIO across commits. A commit 
that moves the table location still keeps the old credentials, as in Java.
   
   ## Are these changes tested?
   
   Unit tests cover the committed table keeping the loaded table's FileIO 
config, and `Table::with_file_io` switching the manifest cache to the new 
FileIO.
   


-- 
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]

Reply via email to