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

Method __close_single_cursor

tests/common/impala_connection.py:601–607  ·  view source on GitHub ↗
(self, cursor)

Source from the content-addressed store, hash-verified

599 close_finished_queries=False)
600
601 def __close_single_cursor(self, cursor):
602 try:
603 # Explicitly close the cursor so that it will close the session.
604 cursor.close()
605 except Exception:
606 # The session may no longer be valid if the impalad was restarted during the test.
607 pass
608
609 def default_cursor(self):
610 if self.__cursor is None:

Callers 3

closeMethod · 0.95
executeMethod · 0.95
execute_asyncMethod · 0.95

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected