RussellSpitzer commented on code in PR #12580:
URL: https://github.com/apache/iceberg/pull/12580#discussion_r2019493975


##########
format/spec.md:
##########
@@ -408,16 +406,17 @@ When `null`, a row's `_row_id` field is assigned to the 
`first_row_id` from its
 
 Values for `_row_id` and `_last_updated_sequence_number` are either read from 
the data file or assigned at read time. As a result on read, rows in a table 
always have non-null values for these fields when lineage is enabled.
 
-When an existing row is moved to a different data file for any reason, writers 
are required to write `_row_id` and `_last_updated_sequence_number` according 
to the following rules:
+When an existing row is moved to a different data file for any reason, writers 
should write `_row_id` and `_last_updated_sequence_number` according to the 
following rules:
 
 1. The row's existing non-null `_row_id` must be copied into the new data file
 2. If the write has modified the row, the `_last_updated_sequence_number` 
field must be set to `null` (so that the modification's sequence number 
replaces the current value)
 3. If the write has not modified the row, the existing non-null 
`_last_updated_sequence_number` value must be copied to the new data file
 
+Engines may model operations as deleting rows and inserting rows or as 
modifications to rows that preserve row ids.

Review Comment:
   I think we need a semi-colon or colon before (or after) "_or_ as 
modifications"
   
   I am not sure because Maggie is at AWP and she usually answers all my 
grammar questions but I think we need something that differentiates "Deleteing 
and Insert" from "Modifications to Rows"



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