In Hive, when we do a query (like: select * from employee), we do not get any column names in the output (like name, age, salary that we would get in R
All above answers already answer the question. But in case if someone wants this property to be ON permanently, then there is this property: hive.cli.print.header in hive-default.xml or hive-site.xml.
Its default value is false. Make its value as true and save.
Done.