zhangyue19921010 opened a new pull request, #11120:
URL: https://github.com/apache/paimon/pull/11120

   ### Purpose
   
   Fixes #11119.
   
   After an append-table column changes from INT to BIGINT, an IN filter 
containing NULL can throw while planning reads of older files. Decline integer 
predicate conversion when a literal is NULL, so the existing residual filter 
can evaluate it safely.
   
   ### Tests
   
   Added a table regression for `IN (1, NULL, 3)` after INT-to-BIGINT evolution 
and a conversion regression with NULL, ordinary integer, overflow, and 
empty-literal cases. The table regression and conversion regression both throw 
on unchanged production code at `31f3db767`.
   
   Both pass with the fix. 95 related tests passed on JDK 11, with Checkstyle, 
Spotless, Enforcer and RAT, without `fast-build`:
   
   ```sh
   mvn -pl paimon-core -am -DwildcardSuites=none -DfailIfNoTests=false \
     
-Dtest=CastExecutorTest,SchemaEvolutionUtilTest,SchemaEvolutionTest,SimpleStatsEvolutionTest,LeafPredicateTest
 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]

Reply via email to