--创建表 create table t_order(id int,name string,phone string) row format delimited fields terminated by '\t' ;
--导入本地数据
load data local inpath '/opt/myhive.data' into table t_order;
--创建表 create table t_order(id int,name string,phone string) row format delimited fields terminated by '\t' ;
--导入本地数据
load data local inpath '/opt/myhive.data' into table t_order;
转载于:https://www.cnblogs.com/jasonzeng/p/7896267.html