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:35:00 UTC

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

jackylau created FLINK-31751:
--------------------------------

             Summary: 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
             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)