rdblue commented on a change in pull request #887: Define file and position 
based deletion file in spec
URL: https://github.com/apache/incubator-iceberg/pull/887#discussion_r403165325
 
 

 ##########
 File path: site/docs/spec.md
 ##########
 @@ -333,6 +333,25 @@ Table metadata is stored as JSON. Each table metadata 
change creates a new table
 
 The atomic operation used to commit metadata depends on how tables are tracked 
and is not standardized by this spec. See the sections below for examples.
 
+### Delete Format
+
+This section details how to encode row-level deletes in Iceberg metadata. 
Row-level deletes are not supported in the current format version 1. This part 
of the spec is not yet complete and will be completed as format version 2.
+
+#### Position-based Delete Files
+
+Position-based delete files identify rows in one or more data files that have 
been deleted. It has the schema named "position_based_delete_file" with a 
struct of the following fields:
+
+| Field id, name          | Type                            | Description      
                                                                                
                        |
+|-------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------|
+| **`600 file_path`**     | `required string`               | The full URI of 
a data file with FS scheme. This must match the file_path of the target data 
file in a manifest entry.   |
+| **`601 position`**      | `required long`                 | The ordinal 
position of a deleted row in the target data file identified by file_path, 
starting at 0.                    |
 
 Review comment:
   Here as well.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to