You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/08/20 09:05:15 UTC

[jira] Updated: (HIVE-777) CREATE TABLE with STRUCT type

     [ https://issues.apache.org/jira/browse/HIVE-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-777:
----------------------------

    Description: 
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}


  was:
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}



> 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
>
> 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.