hive 严格模式

hive 严格模式

set hive.mapred.mode=strict;
hive 的非严格模式
set hive.mapred.mode=nonstrict;

严格模式阻挡5类查询:

1、笛卡尔积

2、分区表没有分区字段过滤

3、order by不带limit查询

4、(bigint和string比较)Comparing bigints and strings.

5、(bigint和double比较)Comparing bigints and doubles.

6、not in 函数的使用

发布了48 篇原创文章 · 获赞 11 · 访问量 1544

猜你喜欢

转载自blog.csdn.net/weixin_45896475/article/details/104123958