[
https://issues.apache.org/jira/browse/FLINK-40141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-40141:
-----------------------------------
Labels: starter (was: )
> Make IS_DECIMAL, IS_DIGIT, and IS_ALPHA return NULL for NULL input
> ------------------------------------------------------------------
>
> Key: FLINK-40141
> URL: https://issues.apache.org/jira/browse/FLINK-40141
> Project: Flink
> Issue Type: Technical Debt
> Components: Table SQL / Planner
> Reporter: dylanhz
> Priority: Minor
> Labels: starter
>
> {{}}
> The Flink-specific predicates {{{}IS_DECIMAL{}}}, {{{}IS_DIGIT{}}}, and
> {{IS_ALPHA}} currently return {{FALSE}} for SQL {{NULL}} input and produce a
> non-nullable {{{}BOOLEAN{}}}.
> For consistency with SQL null propagation, they should:
> * Return {{NULL}} for {{NULL}} input.
> * Produce a nullable result when the input is nullable.
> * Keep the existing behavior for non-null inputs.
> This is related to the discussion around FLINK-39943 and should be treated as
> a documented behavior change.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)