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>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM