morrySnow commented on code in PR #37784: URL: https://github.com/apache/doris/pull/37784#discussion_r1686027042
########## fe/fe-core/src/main/cup/sql_parser.cup: ########## @@ -7854,6 +7855,18 @@ admin_stmt ::= {: RESULT = new AdminCancelRebalanceDiskStmt(null); :} + | KW_ADMIN KW_DECOMMISSION KW_DISK string_list:disks KW_ON STRING_LITERAL:backend + {: + RESULT = new AdminDecommissionDiskStmt(backend, disks, false); + :} + | KW_ADMIN KW_DECOMMISSION KW_DISK KW_FORCE string_list:disks KW_ON STRING_LITERAL:backend + {: + RESULT = new AdminDecommissionDiskStmt(backend, disks, true); + :} + | KW_ADMIN KW_RECOMMISSION KW_DISK string_list:disks KW_ON STRING_LITERAL:backend + {: + RESULT = new AdminRecommissionDiskStmt(backend, disks); + :} Review Comment: could u add new statment to Nerieds directly? the legacy planner will be removed in future -- 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