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/03/19 08:54:07 UTC

[GitHub] [calcite] kgyrtkirk opened a new pull request #1116: [CALCITE-2929] Simplification of IS NULL checks are incorrectly assum…

kgyrtkirk opened a new pull request #1116: [CALCITE-2929] Simplification of IS NULL checks are incorrectly assum…
URL: https://github.com/apache/calcite/pull/1116
 
 
   …ing that CAST-s are possible
   
   * for non-nullable types the cast was discarded in case of an IS NULL check; so it might resulted in missing errors
     cast('invalid' as int) IS NULL
   * in case of non-nullable types; IS NULL have made the assumption that cast will not change its nullability (which is true); however it may raise an error - so it can't be removed.

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