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

Reply via email to