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

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

Asked Jun 15, 2024 Modified Jun 19, 2024
Viewed 224
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
徐振超@SelectDB7146
answered Jun 16, 2024
Related Questions
jdbc插入能获取到自增列吗?
1 answers
V2.0.3 版本,集群环境。BE 挂了一个节点,配置了自动拉起,启动失败。麻烦大佬们帮忙看看
2 answers
Doris 2.0.15 使用 insert into 插入1kw数据到一张空表上,之后想执行full compaction压缩,但是报错
2 answers
Date与DatatimeV2
3 answers
doris多次查询结果不一致。
1 answers
doris-2.0.15.1存在BE的cpu居高不下
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 中文技术论坛.