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

Aggregate function syntax needs to be corrected, for example: the condition in sum(case when ....) has multiple tables, but it needs to be changed to a field referenced by a table, for example, case when followed by the field of table A and the field of table B , need to be uniformly changed to a field of a table

Guess you like

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