HiveSql调优系列之Hive严格模式,合理使用Hive严格模式

 

所谓Hive的严格模式,就是为了避免用户提交一些恶意SQL,消耗大量资源进而使得运行环境崩溃做出的一些安全性的限制。

而执行过程中,可以通过关闭Hive严格模式,方便执行HQL.

set hive.strict.checks.orderby.no.limit=false;
set hive.mapred.mode=nostrict;
set hive.strict.checks.no.partition.filter=false;
set hive.strict.checks.cartesian.product=false;
posted @ 2023-03-06 11:03  香媛  阅读(66)  评论(0编辑  收藏  举报