You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peter Toth (JIRA)" <ji...@apache.org> on 2019/07/15 12:39:00 UTC

[jira] [Updated] (SPARK-28401) Add built-in Array Functions: element to array concatenation

     [ https://issues.apache.org/jira/browse/SPARK-28401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Toth updated SPARK-28401:
-------------------------------
    Description: 
||Function||Description||Example||Result||
|{{\|\|}}|element-to-array concatenation|{{3 \|\| ARRAY[4,5,6]}}|{{{3,4,5,6}}}|
|{{\|\|}}|array-to-element concatenation|{{ARRAY[4,5,6] \|\| 7}}|{{{4,5,6,7}}}|

[https://www.postgresql.org/docs/current/functions-array.html]

 

  was:
||Function||Return Type||Description||Example||Result||
|{{array_upper}}{{(}}{{anyarray}}{{, }}{{int}}{{)}}|int|returns upper bound of the requested array dimension|array_upper(ARRAY[1,8,3,7], 1)|4|

[https://www.postgresql.org/docs/current/functions-array.html]

 


> Add built-in Array Functions: element to array concatenation
> ------------------------------------------------------------
>
>                 Key: SPARK-28401
>                 URL: https://issues.apache.org/jira/browse/SPARK-28401
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Peter Toth
>            Priority: Major
>
> ||Function||Description||Example||Result||
> |{{\|\|}}|element-to-array concatenation|{{3 \|\| ARRAY[4,5,6]}}|{{{3,4,5,6}}}|
> |{{\|\|}}|array-to-element concatenation|{{ARRAY[4,5,6] \|\| 7}}|{{{4,5,6,7}}}|
> [https://www.postgresql.org/docs/current/functions-array.html]
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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