You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (Jira)" <ji...@apache.org> on 2019/12/01 21:22:00 UTC

[jira] [Commented] (SPARK-30042) Add built-in Array Functions: array_dims

    [ 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