You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jackylau (Jira)" <ji...@apache.org> on 2023/04/07 07:36:00 UTC

[jira] [Commented] (FLINK-31751) array return type SpecificTypeStrategies.ARRAY and ifThenElse return type is not correct

    [ https://issues.apache.org/jira/browse/FLINK-31751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709612#comment-17709612 ] 

jackylau commented on FLINK-31751:
----------------------------------

hi [~twalthr] [~jark] what do you think?

> array return type SpecificTypeStrategies.ARRAY and ifThenElse return type is not correct
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-31751
>                 URL: https://issues.apache.org/jira/browse/FLINK-31751
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>    Affects Versions: 1.18.0
>            Reporter: jackylau
>            Priority: Major
>             Fix For: 1.18.0
>
>
> like array return type
> Type strategy that returns a \{@link DataTypes#ARRAY(DataType)} with element type equal to the type of the first argument, which is not equals calcite semantic.
> for example
> {code:java}
> ARRAY<BIGINT NOT NULL> and ARRAY<BIGINT> NOT NULL
> it should return  ARRAY<BIGINT> instead of ARRAY<BIGINT NOT NULL>{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)