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

Method fetch

tests/common/impala_connection.py:1053–1059  ·  view source on GitHub ↗

Fetch the results of the query. It will block the current connection if the results are not available yet.

(self, sql_stmt, operation_handle, max_rows=-1)

Source from the content-addressed store, hash-verified

1051 return hs2.Operation(self.__session, operation_handle.get_handle())
1052
1053 def fetch(self, sql_stmt, operation_handle, max_rows=-1): # noqa: U100
1054 """
1055 Fetch the results of the query. It will block the current connection if the results
1056 are not available yet.
1057 """
1058 self.log_handle(operation_handle, "fetching results")
1059 return self.__get_operation(operation_handle).fetch(max_rows=max_rows)
1060
1061 def fetch_error(self, operation_handle):
1062 """

Calls 3

__get_operationMethod · 0.95
log_handleMethod · 0.45
fetchMethod · 0.45