wgtmac opened a new pull request, #1184:
URL: https://github.com/apache/iceberg-cpp/pull/1184

   ### Motivation
   
   Deleting a file by object or dropping a partition can open manifests that 
could never contain a match. Files read from a manifest have a source location 
that can narrow the search, but that source may no longer be present after a 
retry. This extracts manifest pruning from #1115.
   
   ### Changes
   
   - Inherit the source manifest location when reading a data or delete file. 
The location stays out of the serialized schema and file value equality. This 
adds a field to the public `DataFile` layout, so binary consumers must rebuild.
   - Trust object references only while all removal criteria support them and 
every referenced manifest is present. Otherwise use spec-local partition 
summaries. Incomplete partition metadata falls back to reading the candidate. 
Reevaluate cached decisions when those assumptions change.
   - Compare spec-typed bounds with physical partition values, including 
temporal, fixed-width and UUID fields. Partition keys group nulls and NaNs 
while distinguishing signed zero.
   
   The existing entry scan, manifest rewrite and summary paths are retained. 
The corresponding Java logic is in 
[ManifestFilterManager](https://github.com/apache/iceberg/blob/9d2bf51bc049ba4783e3e6a5d65f886ca062f994/core/src/main/java/org/apache/iceberg/ManifestFilterManager.java#L243).
   
   ### Validation
   
   Built this branch independently and ran the full `schema_test`, 
`manifest_test` and `table_update_test` targets. Tests cover pruning without 
opening unrelated manifests, stale references, missing partition information 
and typed partition bounds. Pre-commit and `git diff --check` passed.
   


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