danielcweeks commented on code in PR #17783:
URL: https://github.com/apache/iceberg/pull/17783#discussion_r3844687172


##########
format/spec.md:
##########
@@ -1416,6 +1417,8 @@ The rows in the delete file must be sorted by `file_path` 
then `pos` to optimize
 
 Equality delete files identify deleted rows in a collection of data files by 
one or more column values, and may optionally contain additional columns of the 
deleted row.
 
+Equality delete files must not be added to v4 tables. Equality deletes carried 
over from v2 or v3 remain in the delete manifests that already track them and 
readers must still apply them. Converting them to [deletion 
vectors](#deletion-vectors) is a separate, optional maintenance action.

Review Comment:
   ```suggestion
   Equality delete files must not be added to v4 tables. Equality deletes files 
referenced by metadata upgraded to v4 must still be applied. Moving entries 
covered by an equality delete to a v4 manifest requires applying the deletes 
and writing a new data file entry. 
   ```
   
   I don't think we want to reference/rely on maintenance actions as the spec 
should have a full path to operate without their use.  We don't reference 
maintenance anywhere else in the spec.
   
   We should include something what's required to relocate entries.



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