XiaoHongbo-Hope opened a new pull request, #8978:
URL: https://github.com/apache/paimon/pull/8978

   ### Purpose
   
   Prevent `Predicate.test_by_simple_stats` from raising `IndexError` or 
`TypeError` when predicate indices do not have corresponding simple-stat 
fields. This can happen with incomplete statistics, schema evolution, or 
synthetic fields such as `_ROW_ID`.
   
   Treat missing or invalid statistic positions conservatively so files are not 
incorrectly pruned. Continue using min/max statistics when they are present 
even if null counts are unavailable.
   
   ### Tests
   
   - `python -m pytest paimon-python/pypaimon/tests/predicates_test.py -q`
   - Result: `47 passed, 9 subtests 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]

Reply via email to