黑猴子的家:Hive 头信息配置
显示当前数据库,以及查询表的头信息配置
1、编辑hive-site.xml
在hive-site.xml文件中添加如下配置信息,实现显示当前数据库,查询表的头信息
<property>
<name>hive.cli.print.header</name>
<value>true</value>
</property>
<property>
<name>hive.cli.print.current.db</name>
<value>true</value>
</property>