[ 
https://issues.apache.org/jira/browse/SPARK-6874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491573#comment-14491573
 ] 

Apache Spark commented on SPARK-6874:
-------------------------------------

User 'smola' has created a pull request for this issue:
https://github.com/apache/spark/pull/5483

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to