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)