比如:
set hive.cli.print.current.db=true;
set hive.cli.print.header=true;
.hiverc可以放在~(linux用户家目录)、$HIVE_HOME/conf、$HIVE_HOME/bin目录下。
set hive.cli.print.current.db=true;
set hive.cli.print.header=true;
转载于:https://www.cnblogs.com/lishouguang/p/4560584.html