[
https://issues.apache.org/jira/browse/CALCITE-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893375#comment-16893375
]
Stamatis Zampetakis commented on CALCITE-3213:
----------------------------------------------
I am a bit confused with this syntax; where is it supposed to be used? For
defining a structured type we use the {{CREATE TYPE}} syntax not the {{ROW}}
constructor.
> 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)