[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:
@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user