Skip to content

[SPARK-56582][BUILD][TESTS] Upgrade snowflake-jdbc to 4.1.0#55491

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-56582
Closed

[SPARK-56582][BUILD][TESTS] Upgrade snowflake-jdbc to 4.1.0#55491
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-56582

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun commented Apr 22, 2026

What changes were proposed in this pull request?

This PR aims to upgrade snowflake-jdbc test dependency to 4.1.0 for Apache Spark 4.2.0 to use the recommended version.

Why are the changes needed?

To bring the latest bug fixed version for testing:

  • https://docs.snowflake.com/en/release-notes/clients-drivers/jdbc-2026 (2026-04-08)
    • New features and updates
      • Added warning when using plain HTTP endpoints for OAuth authentication.
      • Added getRole, getWarehouse, and getDatabase API extension methods.
      • Removed the io.netty.tryReflectionSetAccessible system property setting, as it is no longer needed with modern Arrow/Netty versions.
    • Bug fixes
      • Fixed ObjectMapper initialization when DATE_OUTPUT_FORMAT is specified.
      • Fixed Netty native library conflict in thin JAR packaging.
      • Bumped Netty to 4.1.132.Final to address CVE-2026-33870 and CVE-2026-33871.
      • Fixed driver failure when a security manager prohibits access to system properties, environment variables, or security provider modifications.
      • Fixed crash in getColumns when a table contained an unrecognized column type.
      • Fixed session expiration when multiple sessions have different heartbeat intervals.
      • Fixed query context not being merged from failed query responses.

Does this PR introduce any user-facing change?

No. This is a test-only dependency.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.7

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-56582] Upgrade snowflake-jdbc to 4.1.0 [SPARK-56582][BUILD][TESTS] Upgrade snowflake-jdbc to 4.1.0 Apr 22, 2026
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

K8s IT failure is irrelevant to this PR. Currently, master branch is broken and tracked here.

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Thank you, @HyukjinKwon .

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Merged to master for Apache Spark 4.2.0.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-56582 branch April 23, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants