其他分享
首页 > 其他分享> > hive 查询数据表头不显示的解决办法(已验证)

hive 查询数据表头不显示的解决办法(已验证)

作者:互联网

hive安装包conf/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>

标签:解决办法,cli,Whether,hive,current,数据表,print,true
来源: https://www.cnblogs.com/zhangjiahao/p/12905484.html