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

   ### Purpose
   
   `SubstringTransform` checked source field nullability with column `0`, but 
read the value from `sourceFieldRef.index()`. When column `0` was null and the 
actual source field was non-null, substring masking incorrectly returned null.
   
   This PR uses the source field index for both the null check and value 
access, and adds a regression test for that case.
   
   ### Tests
   
   `mvn -pl paimon-common -am -Pfast-build -DfailIfNoTests=false 
-Dtest=SubstringTransformTest test`


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