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)
| 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 | """ |