yangshangqing95 opened a new pull request, #17440:
URL: https://github.com/apache/iceberg/pull/17440

   This PR fixes incorrect pruning for negative data_file.content predicates in 
the entries and all_entries metadata tables.
   
   A delete manifest may contain either position delete files or equality 
delete files. The existing evaluator treats both as ManifestContent.DELETES, 
which can incorrectly prune delete manifests for predicates such as:
   ```
   data_file.content != 2
   data_file.content NOT IN (2)
   ```
   
   The fix uses:
   
   may-contain semantics for = and IN
   contains-only semantics for != and NOT IN
   
   This prevents false-negative results while preserving safe manifest pruning.
   
   Fixes #17439


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