You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2023/03/31 11:12:00 UTC
[jira] [Closed] (FLINK-31621) Add ARRAY_REVERSE supported in SQL & Table API
[ https://issues.apache.org/jira/browse/FLINK-31621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shengkai Fang closed FLINK-31621.
---------------------------------
Resolution: Implemented
Merged into master: 122429f99b9b75737cd218a56a37a7ced750582f
> 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)