[ https://issues.apache.org/jira/browse/FLINK-10049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569014#comment-16569014 ]
vinoyang commented on FLINK-10049: ---------------------------------- [~xccui] Agree! It seems for some string functions, if passing parameter which is NULL, the function's logic would not be invoked, the table framework would returns NULL directly. > 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 > Priority: Major > > 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)