目录
在Hue中执行hive sql查询结果,没有显示出表头。
不显示表名.列名:
set hive.cli.print.header=false;

显示表名.列名:
set hive.cli.print.header=true;

不显示表名,只显示列名:
set hive.resultset.use.unique.column.names=false;

hive-site.xml
<property>
<name>hive.cli.print.header</name>
<value>true</value>
<description>Whether to print the names of the columns in query output.</description>
</property>
<property>
<name>hive.cli.print.current.db</name>
<value>true</value>
<description>Whether to include the current database in the Hive prompt.</description>
</property>