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

Method is_error

tests/common/impala_connection.py:243–247  ·  view source on GitHub ↗

Returns whether the Impala exec state of a operation_handle is ERROR. Internally, it will call get_state(), and any exception thrown by get_state() will cause this method to return True.

(self, operation_handle)

Source from the content-addressed store, hash-verified

241 return self.__is_at_exec_state(operation_handle, FINISHED)
242
243 def is_error(self, operation_handle):
244 """Returns whether the Impala exec state of a operation_handle is ERROR.
245 Internally, it will call get_state(), and any exception thrown by get_state() will
246 cause this method to return True."""
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

Callers 4

_end_queryMethod · 0.80
is_successMethod · 0.80
RecvNegotiatePBMethod · 0.80

Calls 1

__is_at_exec_stateMethod · 0.95

Tested by 2

_end_queryMethod · 0.64