zhangyue19921010 opened a new pull request, #11116:
URL: https://github.com/apache/paimon/pull/11116
### Purpose
Fixes #11115.
NULL comparison literals can throw during statistics filtering when min/max
bounds are available but null counts are unknown. Check literals independently
of the null count in binary and ternary predicates, preserving their existing
no-match behavior.
### Tests
Added two regressions covering comparison operators and null BETWEEN bounds,
with empty, unknown and known null counts. Both error on unchanged production
code at `3821db197` and pass with the fix.
106 related tests passed on JDK 11, along with Checkstyle, Spotless,
Enforcer and RAT, without `fast-build`:
```sh
mvn -pl paimon-common -am -DwildcardSuites=none -DfailIfNoTests=false \
-Dtest=LeafPredicateTest,PredicateTest,PredicateBuilderTest,RowIdPredicateVisitorTest,PredicateProjectionConverterTest,FileIndexPredicateTest,SimpleColStatsCollectorTest
verify
```
AI-generated with OpenAI Codex; independently reviewed by an AI agent. No
human review is claimed.
--
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]