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


##########
format/spec.md:
##########
@@ -786,9 +786,9 @@ Notes:
 
 #### First Row ID Assignment
 
-When adding a new data manifest file, its `first_row_id` field is assigned the 
value of the snapshot's `first_row_id` plus the sum of `added_rows_count` for 
all data manifests that preceded the manifest in the manifest list.
+When adding a new data manifest file, its `first_row_id` field is assigned the 
value of the snapshot's `first_row_id` plus the sum of `added_rows_count` and 
`existing_rows_count` for all data manifests that preceded the manifest in the 
manifest list and were assigned a `first_row_id`.
 
-The `first_row_id` is only assigned for new data manifests. Values for 
existing manifests must be preserved when writing a new manifest list. The 
value of `first_row_id` for delete manifests is always `null`.
+The `first_row_id` is only assigned for data manifests that do not have a 
non-null `first_row_id`. Values for existing manifests must be preserved when 
writing a new manifest list. The value of `first_row_id` for delete manifests 
is always `null`.

Review Comment:
   I updated this to be more clear:
   
   > The `first_row_id` is only assigned for new data manifests that do not 
have a `first_row_id`.
   
   That avoids assuming null because null isn't written for those 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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to