Displaying the column names in Hive

In my previous post, I discussed about setting a property in the Hive prompt to print the database name which we are currently working. 

Similarly, there is another Hive configuration property that needs to be enabled in order to view the column names during the data retrieval.

set hive.cli.print.header=true;

Hive Show Column Names

 

One comment

Leave a Reply