Hive严格模式

https://blog.csdn.net/lzm1340458776/article/details/43233639

永久设置严格模式

.hiverc
#在命令行中显示当前数据库名
set hive.cli.print.current.db=true; 
#查询出来的结果显示列的名称
#set hive.cli.print.header=true;
#设置hive执行的严格模式
set hive.mapred.mode=strict;
原文地址:https://www.cnblogs.com/654321cc/p/12173035.html