[
https://issues.apache.org/jira/browse/FLINK-31098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-31098:
-----------------------------------
Labels: pull-request-available stale-assigned (was: pull-request-available)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it.
> Add ARRAY_SIZE supported in SQL & Table API
> -------------------------------------------
>
> Key: FLINK-31098
> URL: https://issues.apache.org/jira/browse/FLINK-31098
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Affects Versions: 1.18.0
> Reporter: Jacky Lau
> Assignee: Jacky Lau
> Priority: Major
> Labels: pull-request-available, stale-assigned
> Fix For: 1.18.0
>
>
> Returns an unordered array containing the keys of the map.
> Syntax:
> array_size(array)
> Arguments:
> array: An ARRAY to be handled.
> Returns:
> An ARRAY. If value is NULL, the result is NULL.
> Examples:
> {code:sql}
> SELECT array_size(ARRAY[1, 2, 3, 2, 1]);
> -- 5
> SELECT array_size(ARRAY[1, NULL, 1]);
> -- 3
> {code}
> See also
> spark [https://spark.apache.org/docs/latest/api/sql/index.html#array_size]
> snowflake [https://docs.snowflake.com/en/sql-reference/functions/array_size]
> h4.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)