yiguolei commented on code in PR #60567:
URL: https://github.com/apache/doris/pull/60567#discussion_r3123627772


##########
be/src/runtime/workload_management/query_task_controller.h:
##########
@@ -45,6 +45,7 @@ class QueryTaskController : public TaskController {
     size_t get_revocable_size() override;
     Status revoke_memory() override;
     std::vector<PipelineTask*> get_revocable_tasks() override;
+    std::shared_ptr<QueryContext> get_query_ctx() { return query_ctx_.lock(); }

Review Comment:
   不要直接暴露query context了。
   暴露 两个方法, total task num; finished task num



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