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

Method __get_runtime_profile

tests/hs2/test_fetch_first.py:173–180  ·  view source on GitHub ↗

Helper method to get the runtime profile from a given operation handle.

(self, op_handle)

Source from the content-addressed store, hash-verified

171 self.close(handle)
172
173 def __get_runtime_profile(self, op_handle):
174 """Helper method to get the runtime profile from a given operation handle."""
175 get_profile_req = ImpalaHiveServer2Service.TGetRuntimeProfileReq()
176 get_profile_req.operationHandle = op_handle
177 get_profile_req.sessionHandle = self.session_handle
178 get_profile_resp = self.hs2_client.GetRuntimeProfile(get_profile_req)
179 HS2TestSuite.check_response(get_profile_resp)
180 return get_profile_resp.profile
181
182 def run_query_stmts_test(self, conf_overlay=dict()):
183 """Tests Impala's limited support for the FETCH_FIRST fetch orientation for queries.

Callers 1

Calls 2

check_responseMethod · 0.80
GetRuntimeProfileMethod · 0.45

Tested by

no test coverage detected