CTTY commented on code in PR #3564:
URL: https://github.com/apache/iceberg-rust/pull/3564#discussion_r4780501042


##########
crates/iceberg/src/transaction/snapshot/mod.rs:
##########
@@ -173,6 +181,126 @@ pub(crate) async fn current_manifests(table: &Table) -> 
Result<Vec<ManifestFile>
         .collect())
 }
 
+/// What one attempt writes metadata files against: the table the attempt
+/// commits to, the identity every path carries, and the counters that keep
+/// paths unique across attempts.
+///
+/// Borrowed from the producer for one `apply`, so a helper cannot hold a stale
+/// table across attempts, and every file written is recorded as owned by the
+/// helper that allocates its path.
+pub(crate) struct AttemptContext<'a> {

Review Comment:
   I didn't add builder for this because this is a wrapper struct and all its 
fields are required



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