hive 导出数据 到本地CSV

 hive -e "set hive.cli.print.header=true; select * from t_02" | sed 's/[\t]/,/g'  > /application/t_01.csv

猜你喜欢

转载自blog.csdn.net/lucklilili/article/details/103977244