show databases ;
use default;
show tables ;
create table student(id int, name string) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t';
load data local inpath '/opt/datas/student.txt'into table student ;
select * from student ;
select id from student ;
hive 操作
猜你喜欢
转载自www.cnblogs.com/gylhaut/p/10226641.html
今日推荐
周排行