20.采集项目流程篇之清洗数据绑定到hive表中
时间:2019-08-25 18:19:09
收藏:0
阅读:92
先启动hive
在mydb2这个数据库中创建表;
create external table mydb2.access(ip string,day string,url string,upflow string) row format delimited fields terminated by ‘,‘;
把清洗后的数据导入到刚刚创建的hive表中
load data inpath ‘/uvout/hive/‘ into table mydb2.access;
评论(0)