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
+1-28Lines changed: 1 addition & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,36 +7,9 @@ https://docs.snowflake.com/
7
7
Source code is also available at: https://github.com/snowflakedb/snowflake-connector-python
8
8
9
9
# Release Notes
10
-
- v4.1.0(TBD)
11
-
- Added the `SNOWFLAKE_AUTH_FORCE_SERVER` environment variable to force the use of the local-listening server when using the `externalbrowser` auth method.
12
-
- This allows headless environments (like Docker or Airflow) running locally to auth via a browser URL.
13
-
- Fix compilation error when building from sources with libc++.
14
-
15
-
- v4.0.0(October 09,2025)
16
-
- Added support for checking certificates revocation using revocation lists (CRLs)
17
-
- Added `CERT_REVOCATION_CHECK_MODE` to `CLIENT_ENVIRONMENT`
10
+
- v3.18.0(TBD)
18
11
- Added the `workload_identity_impersonation_path` parameter to support service account impersonation for Workload Identity Federation on GCP and AWS workloads only
19
12
- Fixed `get_results_from_sfqid` when using `DictCursor` and executing multiple statements at once
20
-
- Added the `oauth_credentials_in_body` parameter supporting an option to send the oauth client credentials in the request body
21
-
- Fix retry behavior for `ECONNRESET` error
22
-
- Added an option to exclude `botocore` and `boto3` dependencies by setting `SNOWFLAKE_NO_BOTO` environment variable during installation
23
-
- Revert changing exception type in case of token expired scenario for `Oauth` authenticator back to `DatabaseError`
24
-
- Enhanced configuration file security checks with stricter permission validation.
25
-
- Configuration files writable by group or others now raise a `ConfigSourceError` with detailed permission information, preventing potential credential tampering.
26
-
- Fixed the return type of `SnowflakeConnection.cursor(cursor_class)` to match the type of `cursor_class`
27
-
- Constrained the types of `fetchone`, `fetchmany`, `fetchall`
28
-
- As part of this fix, `DictCursor` is no longer a subclass of `SnowflakeCursor`; use `SnowflakeCursorBase` as a superclass of both.
29
-
- Fix "No AWS region was found" error if AWS region was set in `AWS_DEFAULT_REGION` variable instead of `AWS_REGION` for `WORKLOAD_IDENTITY` authenticator
30
-
- Add `ocsp_root_certs_dict_lock_timeout` connection parameter to set the timeout (in seconds) for acquiring the lock on the OCSP root certs dictionary. Default value for this parameter is -1 which indicates no timeout.
31
-
- Fixed behaviour of trying S3 Transfer Accelerate endpoint by default for internal stages, and always getting HTTP403 due to permissions missing on purpose. Now /accelerate is not attempted.
32
-
33
-
- v3.18.0(October 03,2025)
34
-
- Added support for pandas conversion for Day-time and Year-Month Interval types
35
-
36
-
- v3.17.4(September 22,2025)
37
-
- Added support for intermediate certificates as roots when they are stored in the trust store
38
-
- Bumped up vendored `urllib3` to `2.5.0` and `requests` to `v2.32.5`
39
-
- Dropped support for OpenSSL versions older than 1.1.1
0 commit comments