Grouping sets aggregations (with rollups or cubes) are not allowed if aggregation function parameters overlap with the aggregation functions columns


hive 报错:Grouping sets aggregations (with rollups or cubes) are not allowed if aggregation function parameters overlap with the aggregation functions columns

聚合函数语法需要改正, 例如:sum(case when ....) 里面的条件有多个表,但需要改成一个表引用的字段就行,例如case when 后面有A表的字段和B表的字段,需要统一改成一个表的字段


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM