hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mahender bigdata <Mahender.BigD...@outlook.com>
Subject Create hive table with same schema without any data
Date Thu, 10 Dec 2015 18:09:18 GMT
Hi,

Is there any alternate way for creating hive table with same table 
schema. We are currently doing with

create table t1 as select * from t2 where 1 =2
or
create table t1 like t2;

Is there any other way of creating table with same schema as one of the 
table.




Mime
View raw message