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表的字段,需要统一改成一个表的字段

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325213384&siteId=291194637