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

Method fetch_error

tests/common/impala_connection.py:1061–1069  ·  view source on GitHub ↗

Fetch the error of the query.

(self, operation_handle)

Source from the content-addressed store, hash-verified

1059 return self.__get_operation(operation_handle).fetch(max_rows=max_rows)
1060
1061 def fetch_error(self, operation_handle):
1062 """
1063 Fetch the error of the query.
1064 """
1065 try:
1066 self.fetch(None, operation_handle)
1067 assert False, "Failed to catch the error of the query."
1068 except Exception as exc:
1069 return exc
1070
1071 def get_state(self, operation_handle):
1072 return self.__get_operation(operation_handle).get_status()

Callers 2

__call__Method · 0.80
test_interrupt_sleepMethod · 0.80

Calls 1

fetchMethod · 0.95

Tested by 2

__call__Method · 0.64
test_interrupt_sleepMethod · 0.64