LiBinfeng-01 opened a new issue, #42597:
URL: https://github.com/apache/doris/issues/42597

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   CreateRoleCommand 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 CreateRoleStmt.java in legacy planner to see what the command does 
and migrate it to nereids planner
   ``` unsupportedCreateStatement: CREATE ROLE (IF NOT EXISTS)? name=identifier 
(COMMENT STRING_LITERAL)?```
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.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