Returns whether the state of a operation_handle has passed Impala admission control. Return True if handle state is error.
(self, operation_handle)
| 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): |
no test coverage detected