wangbo opened a new pull request, #21174: URL: https://github.com/apache/doris/pull/21174
## Proposed changes 1 check group exists when set group for user property; eg, if g1 not exists, then set op should be failed. ``` mysql [test]>SET PROPERTY FOR 'root' 'default_workload_group' = 'g1'; ERROR 1105 (HY000): errCode = 2, detailMessage = workload group g1 not exists ``` 2 check whether group is used for user when drop group; eg, if a group is set for root, then drop should be failed. ``` mysql [test]>drop workload group test_g1; ERROR 1105 (HY000): errCode = 2, detailMessage = workload group test_g1 is set for user root ``` -- 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]
