DonnyZone opened a new pull request #1316: [CALCITE-3142] An NPE when rounding 
a nullable numeric
URL: https://github.com/apache/calcite/pull/1316
 
 
   As illustrated in 
[CALCITE-3142](https://issues.apache.org/jira/browse/CALCITE-3142), this PR 
wraps the unsafe code in conditional clause.
   Approach: We use another translator (called "notNullTranslator") with a new 
constructed BlockBuilder to keep unsafe code. After that, we wrap this code 
with conditions and add it back. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to