hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-777) CREATE TABLE with STRUCT type
Date Thu, 20 Aug 2009 07:05:15 GMT

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


Mime
View raw message