首页 > 技术文章 > hive 操作

gylhaut 2019-01-05 22:48 原文

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 ;

推荐阅读