- 9
- 0
- 约4.65千字
- 约 5页
- 2021-11-30 发布于江苏
- 举报
1、创建普通表
create table test(id string,name string) row format delimited fields
terminated by ,stored as textfile;
在hdfs上面储存的路径
hdfs://tifa.local:9000/user/hive/warehouse/test;
2、加载数据
1)、本地加载
load data local inpath /Users/tifa/Desktop/1.txt into table test;
3、创建一个外部表
create external table tes
原创力文档

文档评论(0)