You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/07/11 07:03:31 UTC
[GitHub] [calcite] DonnyZone opened a new pull request #1316: [CALCITE-3142]
An NPE when rounding a nullable numeric
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:
users@infra.apache.org
With regards,
Apache Git Services