Skip to content

[🍒]Update Snowflake JDBC driver to 4.0.2 and adapt API changes#62

Open
harishhk107 wants to merge 1 commit intodata-integrations:release/1.2from
cloudsufi:cherry-pick/28575e8d89e5170d743a35a65345a083320c8f18
Open

[🍒]Update Snowflake JDBC driver to 4.0.2 and adapt API changes#62
harishhk107 wants to merge 1 commit intodata-integrations:release/1.2from
cloudsufi:cherry-pick/28575e8d89e5170d743a35a65345a083320c8f18

Conversation

@harishhk107
Copy link
Copy Markdown
Contributor

@harishhk107 harishhk107 commented Apr 28, 2026

PLUGIN-1954

Bumps snowflake-jdbc.version from 3.14.4 to 4.0.2.

The migration to Snowflake JDBC 4.0.2 requires updating downloadStream and uploadStream calls to use the new DownloadStreamConfig and UploadStreamConfig builders

  1. Download Stream: Explicit Decompression
    Previously, the decompression behavior was controlled by a trailing boolean. This is now encapsulated within DownloadStreamConfig.

  2. Upload Stream: Encapsulated Configuration
    The legacy 5-argument uploadStream has been simplified. Metadata like destination prefixes and compression settings are now moved into UploadStreamConfig.

  3. OAuth2 Authentication Update
    -- Removed deprecated setOauthToken() method
    -- Added explicit setAuthenticator("oauth") call before setting password

  4. Configuration Validation Enhancement
    -- Added passphrase validation for key-pair authentication

https://docs.snowflake.com/en/developer-guide/jdbc/jdbc-migration#stream-upload-and-download-changes

Bumps `snowflake-jdbc.version` from `3.14.4` to `4.0.2`.
@harishhk107 harishhk107 changed the title Update Snowflake JDBC driver to 4.0.2 and adapt API changes [🍒]Update Snowflake JDBC driver to 4.0.2 and adapt API changes Apr 28, 2026
@vikasrathee-cs vikasrathee-cs added the build build label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants