[ 
https://issues.apache.org/jira/browse/CALCITE-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chan updated CALCITE-3231:
--------------------------------
    Description: 
Support the grammar in parser as follows:

{code:sql}
array[int_size] -- or
array<int_size>
type array
{code}

This is the grammar copied from SQL-2011:

{code:sql}
<array type> ::=
  <data type> ARRAY
    [ <left bracket or trigraph> <maximum cardinality> <right bracket or 
trigraph> ]

<maximum cardinality> ::=
  <unsigned integer>
{code}




  was:
Support the grammar in parser as follows:

{code:sql}
array[int_size] -- or
array<int_size>
type array
{code}



> Support ARRAY type for SqlDataTypeSpec
> --------------------------------------
>
>                 Key: CALCITE-3231
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3231
>             Project: Calcite
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 1.20.0
>            Reporter: Danny Chan
>            Assignee: Danny Chan
>            Priority: Major
>             Fix For: 1.21.0
>
>
> Support the grammar in parser as follows:
> {code:sql}
> array[int_size] -- or
> array<int_size>
> type array
> {code}
> This is the grammar copied from SQL-2011:
> {code:sql}
> <array type> ::=
>   <data type> ARRAY
>     [ <left bracket or trigraph> <maximum cardinality> <right bracket or 
> trigraph> ]
> <maximum cardinality> ::=
>   <unsigned integer>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to