liuyongvs commented on code in PR #21993: URL: https://github.com/apache/flink/pull/21993#discussion_r1116965989
########## flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/inference/strategies/SpecificInputTypeStrategies.java: ########## @@ -71,7 +71,11 @@ public final class SpecificInputTypeStrategies { /** Argument type derived from the array element type. */ public static final ArgumentTypeStrategy ARRAY_ELEMENT_ARG = - new ArrayElementArgumentTypeStrategy(); + new ArrayElementArgumentTypeStrategy(false); + + /** Argument type derived from the array element type. But leaves nullability untouched. */ Review Comment: the reason why i add ARRAY_ELEMENT_ARG and ARRAY_ELEMENT_ARG_NULLABLE like COMMON_ARG/COMMON_ARG_NULLABLE is some array function may need element arg not null. so i preserve. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org