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

   ### Purpose
   
   Closes #11041.
   
   Fix `CastedRow.isNullAt` to recognize NULL values produced by decimal casts. 
Previously, precision overflow left the row marked non-null, causing 
`InternalRowSerializer.copy` to throw a `NullPointerException`.
   
   ### Tests
   
   Added five regression tests covering decimal overflow (including rounding 
and noncompact decimals), row copying, and row reuse.
   
   ```bash
   mvn -o -pl paimon-common -DwildcardSuites=none \
     
'-Dtest=CastedRowTest,CastExecutorTest,FallbackMappingRowTest,InternalRowSerializerTest*'
 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