You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ar...@apache.org on 2023/04/03 01:51:24 UTC
[impala] 01/01: Retrieve request_pool from TQueryExecRequest
This is an automated email from the ASF dual-hosted git repository.
arawat pushed a commit to branch web_ui_dynamic_request_pool
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 2865ccfbd1b738baf8a66bb5d08377db8387ba62
Author: Abhishek Rawat <ar...@cloudera.com>
AuthorDate: Sun Apr 2 18:47:56 2023 -0700
Retrieve request_pool from TQueryExecRequest
Change-Id: If402621a9a1fd9e525822f024c26d7f36043878e
---
be/src/service/impala-server.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/be/src/service/impala-server.cc b/be/src/service/impala-server.cc
index 4d6f64840..2c08fb57e 100644
--- a/be/src/service/impala-server.cc
+++ b/be/src/service/impala-server.cc
@@ -2400,7 +2400,8 @@ void ImpalaServer::QueryStateRecord::Init(const ClientRequestState& query_handle
// For statement types other than QUERY/DML, show an empty string for resource pool
// to indicate that they are not subjected to admission control.
if (stmt_type == TStmtType::QUERY || stmt_type == TStmtType::DML) {
- resource_pool = query_handle.request_pool();
+ //resource_pool = query_handle.request_pool();
+ resource_pool = request.query_exec_request.query_ctx.request_pool;
}
user_has_profile_access = query_handle.user_has_profile_access();