fallintoplace opened a new pull request, #1615:
URL: https://github.com/apache/iceberg-go/pull/1615

   ## Summary
   
   - validate that a manifest deletion-vector entry points to a 
`deletion-vector-v1` Puffin blob
   - require the Puffin blob's `referenced-data-file` to match the manifest 
entry
   - reject missing identity metadata before reading or decoding the blob 
payload
   
   ## Why
   
   `ReadDV` currently identifies a Puffin blob by offset and length, then 
checks its cardinality. If a manifest entry points to another valid blob with 
the same cardinality, the bitmap can be accepted even when that blob belongs to 
a different data file.
   
   The Puffin specification requires every deletion-vector blob to carry a 
`referenced-data-file` property matching the data file location in table 
metadata. Cross-checking those values prevents a deletion vector from being 
applied to the wrong file.
   
   ## Testing
   
   - `go test ./table/dv`
   - `go test ./...`
   - `golangci-lint run --timeout=10m`
   


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