[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`
This commit is contained in:
zhangdong
2024-07-18 23:52:34 +08:00
committed by GitHub
parent 90466cacc5
commit 5d17ff9d95

View File

@ -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");
}