From ec8467f57bd6990b922a207a1f00500355496be4 Mon Sep 17 00:00:00 2001 From: deardeng <565620795@qq.com> Date: Sat, 13 Jul 2024 22:12:38 +0800 Subject: [PATCH] [fix](auto bucket) Fix hit not support alter estimate_partition_size #33670 (#37633) cherry pick from #33670 --- .../org/apache/doris/analysis/ModifyTablePropertiesClause.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/ModifyTablePropertiesClause.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/ModifyTablePropertiesClause.java index b5e4c46d91..3a1d7ccb64 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/ModifyTablePropertiesClause.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/ModifyTablePropertiesClause.java @@ -307,6 +307,8 @@ public class ModifyTablePropertiesClause extends AlterTableClause { } this.needTableStable = false; this.opType = AlterOpType.MODIFY_TABLE_PROPERTY_SYNC; + } else if (properties.containsKey(PropertyAnalyzer.PROPERTIES_ESTIMATE_PARTITION_SIZE)) { + throw new AnalysisException("You can not modify estimate partition size"); } else { throw new AnalysisException("Unknown table property: " + properties.keySet()); }