wenzhenghu commented on code in PR #60559:
URL: https://github.com/apache/doris/pull/60559#discussion_r2851068902
##########
fe/fe-core/src/main/java/org/apache/doris/qe/runtime/ThriftPlansBuilder.java:
##########
@@ -402,6 +403,13 @@ private static TPipelineFragmentParams
fragmentToThriftIfAbsent(
params.setLocalParams(Lists.newArrayList());
params.setWorkloadGroups(coordinatorContext.getWorkloadGroups());
+ if (connectContext != null &&
connectContext.getCurrentUserIdentity() != null) {
Review Comment:
create workload Policy test_cancel1
Conditions(query_time > 100, username = 'root')
Actions(cancel_query)
properties('enabled'='true');
streamload看起来是不受影响的
root@hydoris-compute:~/wenzhh/doris# sh ./load.sh
{
"TxnId": 2021,
"Label": "002c417c-e48d-4041-b074-7c452c9098b5",
"Comment": "",
"TwoPhaseCommit": "false",
"Status": "Success",
"Message": "OK",
"NumberTotalRows": 100000,
"NumberLoadedRows": 100000,
"NumberFilteredRows": 0,
"NumberUnselectedRows": 0,
"LoadBytes": 1966902,
"LoadTimeMs": 1182,
"BeginTxnTimeMs": 1,
"StreamLoadPutTimeMs": 9,
"ReadDataTimeMs": 1,
"WriteDataTimeMs": 1149,
"ReceiveDataTimeMs": 1002,
"CommitAndPublishTimeMs": 20
}
--
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]