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-29984) Add built-in Array Functions: array_ndims
Date Sun, 01 Dec 2019 23:29:00 GMT

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

Xiao Li commented on SPARK-29984:
---------------------------------

How useful is this function? Is PostgreSQL the only database that supports it?
[|https://issues.apache.org/jira/secure/AddComment!default.jspa?id=13270680]

> Add built-in Array Functions: array_ndims
> -----------------------------------------
>
>                 Key: SPARK-29984
>                 URL: https://issues.apache.org/jira/browse/SPARK-29984
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: jiaan.geng
>            Priority: Major
>
> |{{array_ndims}}{{(}}{{anyarray}}{{)}}|{{int}}|returns the number of dimensions of the
array|{{array_ndims(ARRAY[[1,2,3], [4,5,6]])}}|{{2}}|
> [https://www.postgresql.org/docs/11/functions-array.html]



--
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