[ https://issues.apache.org/jira/browse/CALCITE-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901346#comment-16901346 ]
Julian Hyde commented on CALCITE-3231: -------------------------------------- It would be nice if the [SQL reference|https://calcite.apache.org/docs/reference.html] had the syntax for 'type'. We currently have 'CAST(expression AS type)' but we don't define 'type'. > 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 > Labels: pull-request-available > Fix For: 1.21.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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)