1 新建一个表
hive -e "create external table if not exists uid_vid_test(uid string, vid string) row format delimited fields terminated by '\t'"
注意后面的\t,表示数据以\t分割
2 从本地导入数据
执行hive -e "load data local inpath 'uidvid' into table uiv_vid_test" 导入到uid_vid_test表中
3 查看数据
hive -e "select * from uid_vid_test"