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
select * from employee
Set this property before executing your query :
hive> set hive.cli.print.header=true;