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

Method is_admitted

tests/common/impala_connection.py:255–258  ·  view source on GitHub ↗

Returns whether the state of a operation_handle has passed Impala admission control. Return True if handle state is error.

(self, operation_handle)

Source from the content-addressed store, hash-verified

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
257 admission control. Return True if handle state is error."""
258 return self.get_impala_exec_state(operation_handle) in EXEC_STATES_ADMITTED
259
260 @abc.abstractmethod
261 def get_log(self, operation_handle):

Callers 3

get_admission_resultMethod · 0.80

Calls 1

get_impala_exec_stateMethod · 0.95

Tested by

no test coverage detected