导航

hive基本操作

Posted on 2016-02-20 11:15  ggzone  阅读(133)  评论(0编辑  收藏  举报

hive级联删除数据库和表
drop database t1 cascade;

hive创建临时表和插入
create table t1 as select * from achi;
insert into table t1 select * from achi;
insert overwrite table t1 select * from achi;