(self, cursor)
| 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: |
no test coverage detected