This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 5d17ff9d950 [fix](mtmv)Mtmv support force replica 2.1 (#38090)
5d17ff9d950 is described below
commit 5d17ff9d95040c7f95940d38f59832907f55adc0
Author: zhangdong <[email protected]>
AuthorDate: Thu Jul 18 23:52:34 2024 +0800
[fix](mtmv)Mtmv support force replica 2.1 (#38090)
master do not have bug, because has call
`PropertyAnalyzer.getInstance().rewriteOlapProperties`
2.1 not have this method ,should call
`PropertyAnalyzer.rewriteReplicaAllocationProperties`
---
.../apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java
index 7b0ba49524d..55b2e379f83 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java
@@ -185,6 +185,7 @@ public class CreateMTMVInfo {
}
private void analyzeProperties() {
+ properties =
PropertyAnalyzer.rewriteReplicaAllocationProperties(mvName.getCtl(),
mvName.getDb(), properties);
if
(DynamicPartitionUtil.checkDynamicPartitionPropertiesExist(properties)) {
throw new AnalysisException("Not support dynamic partition
properties on async materialized view");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]