hive命令行顯示當前數據庫

在 hive命令行不知道當前數據庫有時會帶來麻煩。sql 一、能夠在hive命令行執行如下語句顯示當前數據庫:數據庫 select current_database(); 二、能夠設置hive屬性在命令行顯示當前數據庫:命令行 set hive.cli.print.current.db=true;
相關文章
相關標籤/搜索