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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to