stevenzwu commented on code in PR #18526:
URL: https://github.com/apache/iceberg/pull/18526#discussion_r4807499765


##########
format/spec.md:
##########
@@ -1248,6 +1245,25 @@ Inheriting sequence numbers through the metadata tree 
allows writing a new manif
 
 Inheritance does not apply to v1, which does not have inherited fields like 
sequence number. When reading v1 manifests with no sequence number column, 
sequence numbers for all files must default to 0.
 
+##### Snapshot Timestamp Inheritance

Review Comment:
   Good catch on the pre-v4 case. I added a sentence that mirrors the 
`first_row_id` inheritance wording. 
   > Any null `snapshot_timestamp` must be inherited, even if the file is 
existing. This ensures that timestamps are assigned to existing files in 
upgraded tables in the first commit after upgrading to v4.
   
   I kept the read rule ungated, like `first_row_id`, rather than gating it on 
status and then adding an exception. The writer rules already mean only ADDED 
and MODIFIED entries can be null in v4 manifests.



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