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

Method is_executing

tests/common/impala_connection.py:249–253  ·  view source on GitHub ↗

Returns whether the state of a operation_handle is executing or will be executing. Return False if operation_handle has ended, either successful or with error.

(self, operation_handle)

Source from the content-addressed store, hash-verified

247 return self.__is_at_exec_state(operation_handle, ERROR)
248
249 def is_executing(self, operation_handle):
250 """Returns whether the state of a operation_handle is executing or will be
251 executing. Return False if operation_handle has ended, either successful or
252 with error."""
253 return self.get_impala_exec_state(operation_handle) not in EXEC_STATES_FINAL
254
255 def is_admitted(self, operation_handle):
256 """Returns whether the state of a operation_handle has passed Impala

Callers

nothing calls this directly

Calls 1

get_impala_exec_stateMethod · 0.95

Tested by

no test coverage detected