hadoop-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] Created: (HIVE-779) CREATE TYPE and use the TYPE in CREATE TABLE
Date Thu, 20 Aug 2009 19:19:14 GMT
CREATE TYPE and use the TYPE in CREATE TABLE
--------------------------------------------

                 Key: HIVE-779
                 URL: https://issues.apache.org/jira/browse/HIVE-779
             Project: Hadoop Hive
          Issue Type: New Feature
            Reporter: Zheng Shao


>From Namit:

{code}
create type addata (adid int, location string);

CREATE TABLE abc (
pageid INT,
ads addata,
userid INT
);
{code}

That way the same type can be used across multiple tables - you can select from one and insert
into another etc.
Type will be a first class citizen, it can be passed to udfs, can be described etc


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