This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 ec8467f57bd [fix](auto bucket) Fix hit not support alter
estimate_partition_size #33670 (#37633)
ec8467f57bd is described below
commit ec8467f57bd6990b922a207a1f00500355496be4
Author: deardeng <[email protected]>
AuthorDate: Sat Jul 13 22:12:38 2024 +0800
[fix](auto bucket) Fix hit not support alter estimate_partition_size #33670
(#37633)
cherry pick from #33670
---
.../java/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 b5e4c46d91a..3a1d7ccb648 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());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]