You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yiguolei (via GitHub)" <gi...@apache.org> on 2025/12/17 10:44:49 UTC

[I] [Enhancement] Support username in workload group policy at BE [doris]

yiguolei opened a new issue, #59124:
URL: https://github.com/apache/doris/issues/59124

   ### 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
   
   https://doris.apache.org/docs/4.x/admin-manual/workload-management/sql-blocking
   Currently, the workload group policy does support username as a condition, but it could only take affect in FE not in BE. So if we want to cancel the query when username="abc" and scan_bytes > 1000, it does not work.
   I think we can send the username info to Backend in coordinator and save the information in QueryContext. Then we could implement the policy in BE.
   
   ### 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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Enhancement] Support username in workload group policy at BE [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #59124:
URL: https://github.com/apache/doris/issues/59124#issuecomment-4736802841

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Enhancement] Support username in workload group policy at BE [doris]

Posted by "wenzhenghu (via GitHub)" <gi...@apache.org>.
wenzhenghu commented on issue #59124:
URL: https://github.com/apache/doris/issues/59124#issuecomment-3668132496

   I am willing to submit a PR to implement this capability.


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Enhancement] Support username in workload group policy at BE [doris]

Posted by "wenzhenghu (via GitHub)" <gi...@apache.org>.
wenzhenghu commented on issue #59124:
URL: https://github.com/apache/doris/issues/59124#issuecomment-3668131291

   In our production environment, we are using the Workload Group Policy feature and have also noticed the existing limitation regarding the usernamecondition. If it could take effect on the BE (Backend) side, the Workload Group Policy would be even more useful


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Enhancement] Support username in workload group policy at BE [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #59124: [Enhancement] Support username in workload group policy at BE
URL: https://github.com/apache/doris/issues/59124


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org