We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34ee99 commit 217ad43Copy full SHA for 217ad43
ydb_dbapi/cursors.py
@@ -92,6 +92,11 @@ def _update_result_set(
92
self._rows_count = new_rows_count
93
94
def _update_description(self, result_set: ydb.convert.ResultSet) -> None:
95
+ if not result_set.columns:
96
+ # We should not rely on 'empty' result sets,
97
+ # because they can appear at any moment
98
+ return
99
+
100
self._description = [
101
(
102
col.name,
0 commit comments