1,建表
create table if not exists product( Item_id int, Pict_url string, Category string, Brand_id string, Seller_id string) row format delimited fieldsterminated by ',' STORED AS TEXTFILE;
2導入
load data local inpath '/tmp/tmall/tmall_product.csv' overwrite into table product;