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

Method __is_at_exec_state

tests/common/impala_connection.py:217–220  ·  view source on GitHub ↗
(self, operation_handle, impala_state)

Source from the content-addressed store, hash-verified

215 pass
216
217 def __is_at_exec_state(self, operation_handle, impala_state):
218 self.log_handle(
219 operation_handle, 'checking ' + impala_state + ' state for operation')
220 return self.get_impala_exec_state(operation_handle) == impala_state
221
222 def state_is_finished(self, operation_handle):
223 """Returns whether the Impala exec state of a operation_handle is FINISHED.

Callers 5

is_initializedMethod · 0.95
is_pendingMethod · 0.95
is_runningMethod · 0.95
is_finishedMethod · 0.95
is_errorMethod · 0.95

Calls 2

log_handleMethod · 0.95
get_impala_exec_stateMethod · 0.95

Tested by

no test coverage detected