spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-29891) Add built-in Array Functions: array_length
Date Sun, 01 Dec 2019 23:35:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-29891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985720#comment-16985720
] 

Xiao Li commented on SPARK-29891:
---------------------------------

This is like our built-in function size, right?

> Add built-in Array Functions: array_length
> ------------------------------------------
>
>                 Key: SPARK-29891
>                 URL: https://issues.apache.org/jira/browse/SPARK-29891
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: jiaan.geng
>            Priority: Major
>
> |{{array_length}}{{(}}{{anyarray}}{{, }}{{int}}{{)}}|{{int}}|returns the length of the
requested array dimension|{{array_length(array[1,2,3], 1)}}|{{3}}|
> | | | | | |
> Other DBs:
> [https://phoenix.apache.org/language/functions.html#array_length]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message