在后面加入| tr "\t" ","即可: hive -e "select * from tablename" | tr "\t" "," local.csv
在后面加入| tr "\t" ","即可:
hive -e "select * from tablename" | tr "\t" "," > local.csv
在后面加入| tr "\t" ","即可:
hive -e "select * from tablename" | tr "\t" "," > local.csv