The aggregation type of column[project_label] msut be same as the aggregate type of base column xxx

提问者:帅平 问题分类:数据库
在doris中,使用物化视图的时候报错了,提示:
The aggregation type of column[project_label] msut be same as the aggregate type of base column in aggregate table
请问这种错误是怎么回事?
1 个回答
走过的路
走过的路
聚合类型需要和aggr表对应列的一致
发布于:1年前 (2023-05-17) IP属地:四川省
帅平
帅平提问者
字看得懂 还是不太明白具体啥意思惭愧
发布于:1年前 (2023-05-17) IP属地:未知
つ浅笑嫣然
つ浅笑嫣然
字看得懂 还是不太明白具体啥意思惭愧
就是你表里面定义的这个字段的聚合类型是sum,物化视图也得是sum,不能是count
发布于:1年前 (2023-05-17) IP属地:四川省
我来回答