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

Julian Hyde commented on CALCITE-3213:
--------------------------------------

I do support the general idea that there should be a SQL representation for 
every type, complex or simple, even if we go beyond the SQL standard in doing 
this. Good languages have full support for anonymous types (i.e. specifying the 
type definition inline, rather than having to define the type beforehand and 
reference it by name).

> Support complex type expressions for  SqlDataTypeSpec
> -----------------------------------------------------
>
>                 Key: CALCITE-3213
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3213
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.20.0
>            Reporter: Danny Chan
>            Assignee: Danny Chan
>            Priority: Major
>             Fix For: 1.21.0
>
>
> We should support nested struct type like:
> {code:sql}
> ROW(
> NUMBER(5, 2) NOT NULL AS foo,
> ROW(BOOLEAN AS b, MyUDT NOT NULL AS i) AS rec)
> {code}



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

Reply via email to