20.采集项目流程篇之清洗数据绑定到hive表中
先启动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;

浙公网安备 33010602011771号