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

Method is_pending

tests/common/impala_connection.py:231–233  ·  view source on GitHub ↗

Returns whether the Impala exec state of a operation_handle is PENDING

(self, operation_handle)

Source from the content-addressed store, hash-verified

229 return self.__is_at_exec_state(operation_handle, INITIALIZED)
230
231 def is_pending(self, operation_handle):
232 """Returns whether the Impala exec state of a operation_handle is PENDING"""
233 return self.__is_at_exec_state(operation_handle, PENDING)
234
235 def is_running(self, operation_handle):
236 """Returns whether the Impala exec state of a operation_handle is RUNNING"""

Callers 2

test_ctasMethod · 0.80
test_cancellationMethod · 0.80

Calls 1

__is_at_exec_stateMethod · 0.95

Tested by 2

test_ctasMethod · 0.64
test_cancellationMethod · 0.64