heguanhui opened a new pull request, #63317:
URL: https://github.com/apache/doris/pull/63317

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Problem Summary: SHOW ROW POLICY FOR <user> and SHOW ROW POLICY FOR ROLE 
<role> do not validate whether the specified user or role exists. This is 
inconsistent with CREATE ROW POLICY which does validate, and allows confusing 
behavior where a non-existent user/role is silently accepted.
   
   ### Release note
   
   SHOW ROW POLICY now reports an error when the specified user or role does 
not exist.
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
       - [ ] Unit Test
       - [ ] Manual test
       - [ ] No need to test
   
   - Behavior changed:
       - [x] Yes. SHOW ROW POLICY now throws an error for non-existent 
user/role instead of silently returning empty results.
   
   - Does this need documentation?
       - [x] No.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label


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