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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s