[ https://issues.apache.org/jira/browse/FLINK-31621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shengkai Fang reassigned FLINK-31621: ------------------------------------- Assignee: jackylau > Add ARRAY_REVERSE supported in SQL & Table API > ---------------------------------------------- > > Key: FLINK-31621 > URL: https://issues.apache.org/jira/browse/FLINK-31621 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Affects Versions: 1.18.0 > Reporter: jackylau > Assignee: jackylau > Priority: Major > Labels: pull-request-available > Fix For: 1.18.0 > > > array_reverse(array) - Returns an array in reverse order. > Syntax: > array_reverse(array) > Arguments: > array: An ARRAY to be handled. > Returns: > Returns an array in reverse order. > Returns null if the argument is null > {code:sql} > > SELECT array_reverse(array(1, 2, 2, NULL)); > NULL, 2, 2, 1{code} > See also > bigquery > [https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#array_reverse] -- This message was sent by Atlassian Jira (v8.20.10#820010)