rdblue commented on code in PR #16025:
URL: https://github.com/apache/iceberg/pull/16025#discussion_r4161533124


##########
format/spec.md:
##########
@@ -928,12 +1053,12 @@ A simple (and recommended) way for writers to adapt 
existing metadata for table
 
 Manifests track the sequence number when a data or delete file was added to 
the table.
 
-When adding a new file, its data and file sequence numbers are set to `null` 
because the snapshot's sequence number is not assigned until the snapshot is 
successfully committed. When reading, sequence numbers are inherited by 
replacing `null` with the manifest's sequence number from the manifest list.
+When adding a new file, its data and file sequence numbers are set to `null` 
because the snapshot's sequence number is not assigned until the snapshot is 
successfully committed. When reading, sequence numbers are inherited by 
replacing `null` with the manifest's sequence number from the snapshot root.
 It is also possible to add a new file with data that logically belongs to an 
older sequence number. In that case, the data sequence number must be provided 
explicitly and not inherited. However, the file sequence number must be always 
assigned when the snapshot is successfully committed.
 
 When writing an existing file to a new manifest or marking an existing file as 
deleted, the data and file sequence numbers must be non-null and set to the 
original values that were either inherited or provided at the commit time.
 
-Inheriting sequence numbers through the metadata tree allows writing a new 
manifest without a known sequence number, so that a manifest can be written 
once and reused in commit retries. To change a sequence number for a retry, 
only the manifest list must be rewritten.
+Inheriting sequence numbers through the metadata tree allows writing a new 
manifest without a known sequence number, so that a manifest can be written 
once and reused in commit retries. To change a sequence number for a retry, 
only the snapshot root must be rewritten.

Review Comment:
   "Snapshot root file" would make this more clear



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