xanderbailey commented on PR #3778:
URL: https://github.com/apache/iceberg-rust/pull/3778#issuecomment-7203444208

   @CTTY very interested to see what you think of this setup and how it fits 
into your vision for the new Txn work.
   
   `ReplaceTableAction` is the first action whose result has to stay pinned to 
the table the caller staged against, since the data files are written with the 
ids from `staged_table()`. I've kept that table on the action and reuse the 
replacement on retry behind the uuid, last assigned id and layout checks, which 
seemed closest to the RFC's "reuse under a validity check". The alternative I 
could see is `Transaction` remembering the table it started from and passing it 
to actions, but that changes the action interface for every action and seems to 
contradict some of what you were aiming for in that RFC.
   


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