[ https://issues.apache.org/jira/browse/FLINK-31751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712262#comment-17712262 ]
jackylau commented on FLINK-31751: ---------------------------------- the inputTypeStrategy/outputTypeStrategy infers function argument types. the return type is using type which is infered by inputTypeStrategy. So it is not problem. close it > 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)