osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 & 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)