apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.83k stars 3.3k forks source link

[Enhancement] (nereids)implement CreateWorkloadGroupCommand in nereids #42589

Open LiBinfeng-01 opened 1 month ago

LiBinfeng-01 commented 1 month ago

Search before asking

Description

CreateWorkloadGroupCommand is supported in legacy planner but not in nereids(new doris fe planner). you need implement it in nereids. The DorisParser.g4 has the syntax definition already(see bellow). And you can check CreateWorkloadGroupStmt.java in legacy planner to see what the command does and migrate it to nereids planner CREATE WORKLOAD GROUP (IF NOT EXISTS)? name=identifierOrText properties=propertyClause?

Solution

No response

Are you willing to submit PR?

Code of Conduct

msridhar78 commented 5 days ago

@starocean999 @LiBinfeng-01 I will pick this up