Vallishp opened a new pull request, #43118: URL: https://github.com/apache/doris/pull/43118
### What problem does this PR solve? <!-- You need to clearly describe your PR in this part: 1. What problem was fixed (it's best to include specific error reporting information). How it was fixed. 2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be. 3. What features were added. Why this function was added. 4. Which codes were refactored and why this part of the code was refactored. 5. Which functions were optimized and what is the difference before and after the optimization. The description of the PR needs to enable reviewers to quickly and clearly understand the logic of the code modification. --> Support show roles in nereids. <!-- If there are related issues, please fill in the issue number. - If you want the issue to be closed after the PR is merged, please use "close #12345". Otherwise, use "ref #12345" --> Issue Number: close #42768 <!-- If this PR is followup a preivous PR, for example, fix the bug that introduced by a related PR, link the PR here --> Related PR: #xxx Problem Summary: ### Check List (For Committer) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No colde files have been changed. - [ ] Other reason <!-- Add your reason? --> Already regression test test_role cover this. 2024-11-01 14:58:54.289 INFO [suite-thread-1] (Suite.groovy:384) - Execute sql: show roles 2024-11-01 14:59:00.012 INFO [suite-thread-1] (test_role.groovy:54) - roles_create: [[account_role_test, account_p0_account_role_test_comment_create, , null, null, null, null, null, null, null, null, null, null], [admin, null, 'admin'@'%', Admin_priv, null, null, null, null, null, null, null, null, null], [operator, null, 'root'@'%', Node_priv,Admin_priv, null, null, null, null, null, null, null, null, null]] 2024-11-01 14:59:00.018 INFO [suite-thread-1] (Suite.groovy:384) - Execute sql: ALTER ROLE account_role_test comment 'account_p0_account_role_test_comment_alter' 2024-11-01 14:59:00.030 INFO [suite-thread-1] (Suite.groovy:384) - Execute sql: show roles 2024-11-01 14:59:00.038 INFO [suite-thread-1] (test_role.groovy:59) - roles_alter: [[account_role_test, account_p0_account_role_test_comment_alter, , null, null, null, null, null, null, null, null, null, null], [admin, null, 'admin'@'%', Admin_priv, null, null, null, null, null, null, null, null, null], [operator, null, 'root'@'%', Node_priv,Admin_priv, null, null, null, null, null, null, null, null, null]] 2024-11-01 14:59:00.039 INFO [suite-thread-1] (Suite.groovy:384) - Execute sql: DROP ROLE account_role_test 2024-11-01 14:59:00.045 INFO [suite-thread-1] (Suite.groovy:384) - Execute sql: show roles 2024-11-01 14:59:00.050 INFO [suite-thread-1] (test_role.groovy:64) - roles_drop: [[admin, null, 'admin'@'%', Admin_priv, null, null, null, null, null, null, null, null, null], [operator, null, 'root'@'%', Node_priv,Admin_priv, null, null, null, null, null, null, null, null, null]] 2024-11-01 14:59:00.053 INFO [suite-thread-1] (ScriptContext.groovy:120) - Run test_role in /root/doris/workspace/doris/regression-test/suites/account_p0/test_role.groovy succeed - Behavior changed: - [ ] No. No change. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 --> - Release note <!-- bugfix, feat, behavior changed need a release note --> <!-- Add one line release note for this PR. --> None ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into --> -- 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