deardeng commented on code in PR #10693: URL: https://github.com/apache/doris/pull/10693#discussion_r917539917
########## fe/fe-core/src/main/java/org/apache/doris/qe/DdlExecutor.java: ########## @@ -304,6 +305,8 @@ public static void execute(Catalog catalog, DdlStmt ddlStmt) throws Exception { catalog.getPolicyMgr().createPolicy((CreatePolicyStmt) ddlStmt); } else if (ddlStmt instanceof DropPolicyStmt) { catalog.getPolicyMgr().dropPolicy((DropPolicyStmt) ddlStmt); + } else if (ddlStmt instanceof AlterStoragePolicyStmt) { Review Comment: ALTER STORAGE POLICY has_test_policy_to_alter PROPERTIES("cooldown_datetime" = "2023-06-08 00:00:00"); use this sql to alter storage policy, so AlterStoragePolicyStmt is better. -- 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