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 13:26:00 UTC

[jira] [Created] (SPARK-28402) Array indexing is 1-based

Peter Toth created SPARK-28402:
----------------------------------

             Summary: Array indexing is 1-based
                 Key: SPARK-28402
                 URL: https://issues.apache.org/jira/browse/SPARK-28402
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Peter Toth


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