MCPcopy Create free account
hub / github.com/apache/impala / request_pool

Method request_pool

be/src/service/client-request-state.h:274–284  ·  view source on GitHub ↗

Resource pool associated with this query, or an empty string if the schedule has not been created and had the pool set yet, or this StmtType doesn't go through admission control. Admission control resource pool associated with this query.

Source from the content-addressed store, hash-verified

272 /// control.
273 /// Admission control resource pool associated with this query.
274 std::string request_pool() const {
275 if (is_planning_done_.load()) {
276 const TExecRequest& exec_req = exec_request();
277 if (exec_req.query_exec_request.query_ctx.__isset.request_pool) {
278 // If the request pool has been set by Planner, return the request pool selected
279 // by Planner.
280 return exec_req.query_exec_request.query_ctx.request_pool;
281 }
282 }
283 return query_ctx_.__isset.request_pool ? query_ctx_.request_pool : "";
284 }
285
286 int num_rows_fetched() const { return num_rows_fetched_; }
287 void set_fetched_rows() { fetched_rows_ = true; }

Callers 12

CanAdmitRequestMethod · 0.80
CanAdmitQuotaMethod · 0.80
GetPoolStatsMethod · 0.80
AdmitQueryMethod · 0.80
InitMethod · 0.80
AdmissionStateHandlerMethod · 0.80
OtelTraceManagerMethod · 0.80
StartChildSpanInitMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected