Apache Doris 中文技术论坛
Questions Tags Users Badges

【已解决】创建物化视图提示MergeOnWrite table can't create materialized view

Asked Jun 15, 2024 Modified Jun 19, 2024
Viewed 213
2.0

那是不是写时合并的表都不允许创建物化视图?

edited Jun 19, 2024
zzxiaoma33
asked Jun 15, 2024
1 Answers

是的。物化视图针对 Unique Key 数据模型,只能改变列顺序,不能起到聚合的作用,所以在 Unique Key 模型上不能通过创建物化视图的方式对数据进行粗粒度聚合操作。

可以参考尝试异步物化视图:https://doris.apache.org/zh-CN/docs/query/view-materialized-view/materialized-view

edited Jun 19, 2024
徐振超@SelectDB7056
answered Jun 16, 2024
Related Questions
bdb过大,3FE因为其中一台机器故障导致fe启动不了,选定了一个fe作为master重新租了集群
1 answers
官方镜像gdb使用报错
1 answers
left join 报错
1 answers
doris2.0.15 unique表部分更新出现副本数据不一致
1 answers
doris 2.0.4 某tablet持续base compaction失败重试
1 answers
执行insert into select语句,偶发be与fe连接错误,[THRIFT_RPC_ERROR]Couldn't open transport for 10.1.0.23:9020 (open() timed out)
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.