标签:数据 mit select from delete name date mat term
1、创建hive分区表:
create table invites (id int, name string)
partitioned by (ds string)
row format delimited
fields terminated by ‘t‘ stored as textfile;
2、像hive中插入一条数据;hive仓库其实一般不建议insert,delete,update一行数据
insert into table invites partition(ds=‘2017-11-15‘) values(1,‘xiaoming‘);
3、查询tab数据
select * from invtes;
标签:数据 mit select from delete name date mat term
原文地址:http://www.cnblogs.com/xubiao/p/7839585.html