显示当前数据库,以及查询表的头信息配置

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>

2、重新启动hive,对比配置前后差异

黑猴子的家:Hive 头信息配置

相关文章:

  • 2022-01-14
  • 2021-06-21
  • 2021-08-21
  • 2021-04-19
  • 2021-10-07
  • 2021-09-28
  • 2022-01-15
  • 2021-07-03
猜你喜欢
  • 2021-10-01
  • 2021-06-08
  • 2021-06-21
  • 2021-05-24
  • 2021-09-20
  • 2021-04-15
  • 2021-04-24
相关资源
相似解决方案