Skip to content

[Enhancement] (nereids)implement CreateRoleCommand in nereids #42597

@LiBinfeng-01

Description

@LiBinfeng-01

Search before asking

  • I had searched in the issues 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions