You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Santiago M. Mola (JIRA)" <ji...@apache.org> on 2015/04/12 18:40:12 UTC
[jira] [Created] (SPARK-6874) Add support for SQL:2003 array type
declaration syntax
Santiago M. Mola created SPARK-6874:
---------------------------------------
Summary: 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
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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org