Member since
12-17-2015
4
Posts
1
Kudos Received
0
Solutions
05-08-2017
07:42 AM
1 Kudo
Hi 苏 斌, I have not tried INSERT OVERWRITE DIRECTORY when i switch to beeline. Try to use this command:- beeline -u jdbc:hive2://somehost_ip/ --silent=true --outputformat=csv2 -f hive.hql >op.csv
... View more
05-08-2017
07:40 AM
Hi Alex raj, You are missing --outputformat=csv2 in the command , kindly mention it and the file format should be the csv. It will work. I have tried it. As, you have only one value so only one value will come in the csv file, try export more columns and rows then it will give you the better understanding. beeline -u jdbc:hive2://somehost_ip/ --silent=true --outputformat=csv2 -f hive.hql >op.csv
... View more