导出命令: hive -e " select concat_ws(',',nvl(name,''),nvl(phone,''),nvl(id,''),org) as dt from souche">souche1.csv

编码转换: linux 系统显示utf8 window gbk

iconv -f UTF-8 -c -t GBK souche1.csv > souche2.csv