Skip to content

Commit 90c833a

Browse files
committed
Fix get_results_from_sfqid for DictCursor
1 parent 2b94edc commit 90c833a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
99
# Release Notes
1010
- v3.18.0(TBD)
1111
- Added the `workload_identity_impersonation_path` parameter to support service account impersonation for Workload Identity Federation on GCP and AWS workloads only
12+
- Fixed `get_results_from_sfqid` when using `DictCursor` and executing multiple statements at once
1213

1314
- v3.17.3(September 02,2025)
1415
- Enhanced configuration file permission warning messages.

src/snowflake/connector/cursor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,8 +1741,7 @@ def wait_until_ready() -> None:
17411741
self.connection.get_query_status_throw_if_error(
17421742
sfqid
17431743
) # Trigger an exception if query failed
1744-
klass = self.__class__
1745-
self._inner_cursor = klass(self.connection)
1744+
self._inner_cursor = SnowflakeCursor(self.connection)
17461745
self._sfqid = sfqid
17471746
self._prefetch_hook = wait_until_ready
17481747

0 commit comments

Comments
 (0)