CSV数据导入HIVE

 

drop table bd.t1
create table bd.t1 (
mobile_phone string,
identity_number string
)row format delimited fields terminated by ',' ;
load data local inpath '/data/t_user.csv' overwrite into table bd.t1;

您可以选择一种方式赞助本站