[ https://issues.apache.org/jira/browse/HIVE-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745581#action_12745581 ]
Zheng Shao commented on HIVE-777: --------------------------------- Yes, I think we should support both. "Create type" will involve some metastore changes and more discussions. We won't be able to finish it in a short time. This change is much smaller, and the syntax is consistent with the current syntax of "array<type>" and "map<type,type>". Some users are already asking for it. I think we can get this one in first. I will open a JIRA for "create type". > CREATE TABLE with STRUCT type > ----------------------------- > > Key: HIVE-777 > URL: https://issues.apache.org/jira/browse/HIVE-777 > Project: Hadoop Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Zheng Shao > Assignee: He Yongqiang > Attachments: hive-777-2009-8-29.patch > > > Currently we only support map/array in type definition. > We should support STRUCT as well. > {code} > CREATE TABLE abc ( > pageid INT, > ads STRUCT<adid:INT,location:STRING>, > userid INT > ); > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.