danzhewuju opened a new pull request, #11067: URL: https://github.com/apache/paimon/pull/11067
### Purpose Fixes #11066. Data Evolution scans fail with a `NullPointerException` when a row-ID IN filter contains NULL, such as `_ROW_ID IN (0, NULL, 1)`. This affects Spark SQL/DataFrame queries as well as Java API scans. Nullable candidate IDs can arise from a LEFT JOIN with unmatched requests. Skip null literals when extracting Equal/IN row-ID ranges, and return empty matching ranges for BETWEEN with a null bound. This aligns range extraction with the existing predicate semantics and prevents null literals from reaching sorting or primitive-long unboxing. ### Tests Added regression tests in `RowIdPredicateVisitorTest` covering short/long IN lists, null-only inputs, null equality, null BETWEEN bounds, and AND/OR composition. -- 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]
