[
https://issues.apache.org/jira/browse/FLINK-31621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jackylau updated FLINK-31621:
-----------------------------
Description:
array_reverse(array) - Returns the input {{ARRAY}} with elements in reverse
order.
Syntax:
array_reverse(array)
Arguments:
array: An ARRAY to be handled.
Returns:
Returns the input array with elements 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
> 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
> Priority: Major
> Fix For: 1.18.0
>
>
> array_reverse(array) - Returns the input {{ARRAY}} with elements in reverse
> order.
> Syntax:
> array_reverse(array)
> Arguments:
> array: An ARRAY to be handled.
> Returns:
> Returns the input array with elements 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)