Multi-Join Inner Query producing incorrect results
參考:
https://issues.apache.org/jira/browse/HIVE-10996
https://cloud.tencent.com/developer/article/1616340
解決方案
- 寫sql要嚴(yán)謹(jǐn),沒有使用到的字段不要寫。
- set hive.optimize.remove.identity.project=false 關(guān)閉IdentityProjectRemover優(yōu)化器
- 升級(jí)hive版本
- 為hive1.2.1打補(bǔ)丁