You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Xingcan Cui (JIRA)" <ji...@apache.org> on 2018/08/03 14:40:00 UTC

[jira] [Created] (FLINK-10049) Unify the processing logic for NULL arguments in SQL built-in functions

Xingcan Cui created FLINK-10049:
-----------------------------------

             Summary: Unify the processing logic for NULL arguments in SQL built-in functions
                 Key: FLINK-10049
                 URL: https://issues.apache.org/jira/browse/FLINK-10049
             Project: Flink
          Issue Type: Improvement
          Components: Table API &amp; SQL
            Reporter: Xingcan Cui


Currently, the built-in functions treat NULL arguments in different ways. E.g., ABS(NULL) returns NULL, while LOG10(NULL) throws an NPE. The general SQL-way of handling NULL values should be that if one argument is NULL the result is NULL. We should unify the processing logic for that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)