Search

How to print header on Hive query results?



We need to use following set command before our query to show column headers in STDOUT.
Shell

hive> set hive.cli.print.header=true;