hive:内部表基本操作
hive内部表的基本操作
创建表-格式
create table table_name;
例如创建stu:
create table stu(id int);
创建表时指定格式-格式
create table table_name row format delimited fields terminated by '分隔符';
例如创建stu,并以’,'为分割符:
create table stu(id int) row format delimited fields terminated by ',
原创
2021-11-01 23:31:02 ·
1021 阅读 ·
0 评论