Reputation: 23
I use PuTTY for running Hive queries. Query results have no column names.
Setting doesn't have obvious check-box for "add column names", not to me anyways...
Can you help please?
Thanks
More details: Issue description
Upvotes: 2
Views: 2086
Reputation: 38335
Execute this command once in your hive session:
set hive.cli.print.header=true;
Alternatively add this command in .hiverc file in your home directory. See this for reference: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli#LanguageManualCli-ThehivercFile
Upvotes: 1