[ https://issues.apache.org/jira/browse/SPARK-28402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004651#comment-17004651 ]
Takeshi Yamamuro commented on SPARK-28402: ------------------------------------------ I'll close for now because I think this is useless for Spark. > 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 > Priority: Major > > Array indexing is 1-based in PostgreSQL: > [https://www.postgresql.org/docs/12/arrays.html] > > {quote}The array subscript numbers are written within square brackets. By > default PostgreSQL uses a one-based numbering convention for arrays, that is, > an array of _{{n}}_ elements starts with {{array[1]}} and ends with > {{array[_{{n}}_]}}.{quote} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org