[fix](auto bucket) Fix hit not support alter estimate_partition_size #33670 (#37633)

cherry pick from #33670
This commit is contained in:
deardeng
2024-07-13 22:12:38 +08:00
committed by GitHub
parent 00a5718541
commit ec8467f57b

View File

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