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

   ### 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
   
   grant revoke command is supported in legacy planner but not in nereids(new 
doris fe planner). you need implement the following grant revoke command in 
nereids:
   unsupportedGrantRevokeStatement
   - [ ] GRANT privilegeList ON multipartIdentifierOrAsterisk
           TO (userIdentify | ROLE STRING_LITERAL)                              
       #grantTablePrivilege GrantStmt
   - [ ] GRANT privilegeList ON
           (RESOURCE | CLUSTER | COMPUTE GROUP | STAGE | STORAGE VAULT | 
WORKLOAD GROUP)
           identifierOrTextOrAsterisk TO (userIdentify | ROLE STRING_LITERAL)   
       #grantResourcePrivilege GrantStmt
   - [ ] GRANT roles+=STRING_LITERAL (COMMA roles+=STRING_LITERAL)* TO 
userIdentify    #grantRole GrantStmt
   - [ ] REVOKE privilegeList ON multipartIdentifierOrAsterisk
           FROM (userIdentify | ROLE STRING_LITERAL)                            
       #grantTablePrivilege RevokeStmt
   - [ ] REVOKE privilegeList ON
           (RESOURCE | CLUSTER | COMPUTE GROUP | STAGE | STORAGE VAULT | 
WORKLOAD GROUP)
           identifierOrTextOrAsterisk FROM (userIdentify | ROLE STRING_LITERAL) 
       #grantResourcePrivilege RevokeStmt
   - [ ] REVOKE roles+=STRING_LITERAL (COMMA roles+=STRING_LITERAL)* FROM 
userIdentify #grantRole RevokeStmt
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to