[ https://issues.apache.org/jira/browse/FLINK-32256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Wysakowicz closed FLINK-32256. ------------------------------------ Resolution: Implemented Implemented in 2c70bd346d37f96f01007c89e3eb66e919c0c0a8 > Add ARRAY_MIN support in SQL & Table API > ---------------------------------------- > > Key: FLINK-32256 > URL: https://issues.apache.org/jira/browse/FLINK-32256 > Project: Flink > Issue Type: New Feature > Components: Table SQL / Planner > Affects Versions: 1.18.0 > Reporter: Bonnie Varghese > Assignee: Hanyu Zheng > Priority: Major > Labels: pull-request-available, stale-assigned > Fix For: 1.19.0 > > > Find the minimum among all elements in the array for which ordering is > supported. > Syntax: > array_min(array) > Arguments: > array: An ARRAY to be handled. > Returns: > The result matches the type of the elements. NULL elements are skipped. If > array is empty, or contains only NULL elements, NULL is returned. > Examples: > {code:sql} > SELECT array_min(array(1, 20, NULL, 3)); > -- 1 > {code} > See also > spark [https://spark.apache.org/docs/latest/api/sql/index.html#array_min] > presto [https://prestodb.io/docs/current/functions/array.html] -- This message was sent by Atlassian Jira (v8.20.10#820010)