You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix get_results_from_sfqid with DictCursor + multi statements (#2531)
Port PR: snowflakedb/Stored-Proc-Python-Connector#225
I noticed that get_results_from_sfqid assumes that fetchall returns a tuple when that's not necessarily the case. Fixing it here + adding a test that fails without the fix.
```
E AssertionError: assert [{'multiple s...ccessfully.'}] == [{'1': 1}]
E At index 0 diff: {'multiple statement execution': 'Multiple statements executed successfully.'} != {'1': 1}
E Full diff:
E - [{'1': 1}]
E + [{'multiple statement execution': 'Multiple statements executed successfully.'}]
```
Copy file name to clipboardExpand all lines: DESCRIPTION.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
9
9
# Release Notes
10
10
- v3.18.0(TBD)
11
11
- 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
0 commit comments