yujun777 commented on code in PR #37114:
URL: https://github.com/apache/doris/pull/37114#discussion_r1687967721
##########
fe/fe-core/src/main/java/org/apache/doris/alter/Alter.java:
##########
@@ -506,6 +508,8 @@ public void processAlterTable(AlterTableStmt stmt) throws
UserException {
} else if (alterClause instanceof ModifyTablePropertiesClause) {
Map<String, String> properties = alterClause.getProperties();
((SchemaChangeHandler)
schemaChangeHandler).updateTableProperties(db, tableName, properties);
+ } else if (alterClause instanceof AlterMultiPartitionClause) {
+ Env.getCurrentEnv().addMultiPartitions(db, tableName,
(AlterMultiPartitionClause) alterClause);
Review Comment:
need check allow alter, see line. 484 ~ 493
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]