- v4.7.2(Aug 6,2026)
- Fixed a thread leak in the file transfer agent by properly shutting down ThreadPoolExecutors after PUT/GET transfers (SNOW-3556240, #2878).
- Fixed
split_statementstreating//as SQL instead of a line comment, which could merge multiple statements when a//comment contained an apostrophe (SNOW-3772985). - Fixed large-file PUT uploads to internal Azure stages failing against the Azure 50,000-block-per-blob limit. The Azure multipart chunk size is now scaled up dynamically for very large files (mirroring the existing S3 behavior), and the default Azure chunk size was raised from 4 MB to 8 MB (consistent with S3) for better throughput (SNOW-3839943).
- Fixed OAuth cached-credential connections failing with
250001 Invalid OAuth access tokenwhen the cached token was invalid (GS code390303); the connector now reauthenticates silently (via refresh token if available, otherwise browser) instead of hard-failing. Also fixed fresh processes holding only a cached refresh token going straight to an interactive browser prompt instead of attempting a silent refresh first. - Fixed Okta/SAML authentication reporting an exhausted
login_timeoutas250003: Failed to execute request: Attempted to set connect timeout to <negative value>. Obtaining the one-time token in step 4 can overshoot the login deadline, which made the remaining budget negative; it was then passed to the HTTP layer, which rejected it with an opaqueValueError. A timed-out SAML login now raises250006with a message naminglogin_timeout. Running out of budget while retrying onRefreshTokenErrorreports the same error instead of failing later with anAttributeErroron an empty response (SNOW-3891419). - Fixed OAuth authorization code flow failing for accounts with uppercase letters in the account name.
urlparse().hostnamealways returns lowercase, but the host was compared case-sensitively in_is_snowflake_as_idp, causing Snowflake-as-IdP detection to returnFalseand raising error 251013 (client_id is empty) even for connections that don't require a client ID.