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.

Reply via email to