hive sql 多join关联引起的bug
2020-10-29 本文已影响0人
仔仔H
Multi-Join Inner Query producing incorrect results
参考:
https://issues.apache.org/jira/browse/HIVE-10996
https://cloud.tencent.com/developer/article/1616340
解决方案
- 写sql要严谨,没有使用到的字段不要写。
- set hive.optimize.remove.identity.project=false 关闭IdentityProjectRemover优化器
- 升级hive版本
- 为hive1.2.1打补丁