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-30042) Add built-in Array Functions: array_dims
Date Sun, 01 Dec 2019 21:22:00 GMT

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

Xiao Li commented on SPARK-30042:
---------------------------------

How useful is this function? Is PostgreSQL the only database that supports it?

> Add built-in Array Functions: array_dims
> ----------------------------------------
>
>                 Key: SPARK-30042
>                 URL: https://issues.apache.org/jira/browse/SPARK-30042
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: jiaan.geng
>            Priority: Major
>
> |{{array_dims}}{{(}}{{anyarray}}{{)}}|{{text}}|returns a text representation of array's
dimensions|{{array_dims(ARRAY[[1,2,3], [4,5,6]])}}|{{[1:2][1:3]}}|
> [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