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

Method fetch

tests/common/impala_connection.py:849–852  ·  view source on GitHub ↗
(self, sql_stmt, operation_handle, max_rows=-1, discard_results=False)

Source from the content-addressed store, hash-verified

847 return '\n'.join(lines)
848
849 def fetch(self, sql_stmt, operation_handle, max_rows=-1, discard_results=False):
850 self.log_handle(operation_handle, 'fetching {} rows'.format(
851 'all' if max_rows < 0 else max_rows))
852 return self.__fetch_results(operation_handle, max_rows, discard_results)
853
854 def __fetch_results(self, handle, max_rows=-1,
855 discard_results=False,

Callers

nothing calls this directly

Calls 3

__fetch_resultsMethod · 0.95
log_handleMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected