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.
| 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; } |
no test coverage detected