You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:35:56 UTC
[jira] [Resolved] (SPARK-6874) Add support for SQL:2003 array type
declaration syntax
[ https://issues.apache.org/jira/browse/SPARK-6874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-6874.
---------------------------------
Resolution: Incomplete
> Add support for SQL:2003 array type declaration syntax
> ------------------------------------------------------
>
> Key: SPARK-6874
> URL: https://issues.apache.org/jira/browse/SPARK-6874
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.3.0
> Reporter: Santiago M. Mola
> Priority: Minor
> Labels: bulk-closed
>
> As of SQL:2003, arrays are standard SQL types, However, declaration syntax differs from Spark's CQL-like syntax. Examples of standard syntax:
> BIGINT ARRAY
> BIGINT ARRAY[100]
> BIGINT ARRAY[100] ARRAY[200]
> It would be great to have support standard syntax here.
> Some additional details that this addition should have IMO:
> - Forbit mixed syntax such as ARRAY<INT> ARRAY[100]
> - Ignore the maximum capacity (ARRAY[N]) but allow it to be specified. This seems to be what others (i.e. PostgreSQL) are doing.
> ARRAY<BIGINT> ARRAY[100]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org