While running the query through WinSCP, I got the results without the column name on top of each column.
Is there a way to get the column names in the results file?
Asked
Active
Viewed 531 times
-2

Phantômaxx
- 37,901
- 21
- 84
- 115

Karam T. Abu Shammala
- 1
- 1
- 1
1 Answers
0
Hive CLI is deprecated, and you should use beeline instead. It'll add column names.
beeline -n $(whoami) -u jdbc:hive2://hiveserver2:10000
But I suggest you just use a JDBC application from Windows, if available

OneCricketeer
- 179,855
- 19
- 132
- 245