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

Shuyi Chen commented on CALCITE-2045:
-------------------------------------

Hi [~julianhyde], I think we can start with the following syntax to allow 
creating scalar type and composite(row) type

CREATE TYPE [ schema_name. ] type_name  
{   
    FROM base_type   
    [ NULL | NOT NULL ]   
  | AS ( [ attribute_name <data_type> [ COLLATE collation ] [ NULL | NOT NULL ] 
 [ ,...n ] )    
} [ ; ]  

What do you think?

> Support "CREATE TYPE" DDL
> -------------------------
>
>                 Key: CALCITE-2045
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2045
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>            Reporter: Shuyi Chen
>            Assignee: Julian Hyde
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to