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:28:00 UTC

[jira] [Updated] (SPARK-28400) Add built-in Array Functions: array_upper

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

Peter Toth updated SPARK-28400:
-------------------------------
    Description: 
||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]

 

  was:
||Function||Return Type||Description||Example||Result||
|{{array_append}}{{(}}{{anyarray}}{{,}}{{anyelement}}{{)}}|{{anyarray}}|append an element to the end of an array|{{array_append(ARRAY[1,2], 3)}}|{{{1,2,3}}}|


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

Other DBs:
https://phoenix.apache.org/language/functions.html#array_append
https://docs.teradata.com/reader/kmuOwjp1zEYg98JsB8fu_A/68fdFR3LWhx7KtHc9Iv5Qg


> Add built-in Array Functions: array_upper
> -----------------------------------------
>
>                 Key: SPARK-28400
>                 URL: https://issues.apache.org/jira/browse/SPARK-28400
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Peter Toth
>            Priority: Major
>
> ||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]
>  



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