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

   When a column has a single unique value (no nulls, no NaNs, and lower bound 
== upper bound), notEq(X) and notIn({...X...}) can prune files where that 
unique value matches the predicate, returning ROWS_CANNOT_MATCH. Previously 
these always returned ROWS_MIGHT_MATCH, never pruning.
   
   This mirrors the upstream Java InclusiveMetricsEvaluator.uniqueValue() 
logic. The StrictMetricsEvaluator is unchanged: its existing bounds-based 
notEq/notIn logic already covers the single-value case, matching upstream Java 
which has no uniqueValue helper there.
   
   Ports the corresponding testNotEqWithSingleValue/testNotInWithSingleValue 
cases from the Java test suite.


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