You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/04/23 05:22:35 UTC

(spark) branch master updated: [SPARK-56582][BUILD][TESTS] Upgrade `snowflake-jdbc` to 4.1.0

This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new f519b2d4b09f [SPARK-56582][BUILD][TESTS] Upgrade `snowflake-jdbc` to 4.1.0
f519b2d4b09f is described below

commit f519b2d4b09ffed9e5ff65efa2de1141464a4900
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Wed Apr 22 22:22:25 2026 -0700

    [SPARK-56582][BUILD][TESTS] Upgrade `snowflake-jdbc` to 4.1.0
    
    ### 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](https://nvd.nist.gov/vuln/detail/CVE-2026-33870) and [CVE-2026-33871](https://nvd.nist.gov/vuln/detail/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
    
    Closes #55491 from dongjoon-hyun/SPARK-56582.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index c98ef359649b..4c61850c268f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -346,7 +346,7 @@
     <mssql.jdbc.version>13.2.1.jre11</mssql.jdbc.version>
     <ojdbc17.version>23.26.1.0.0</ojdbc17.version>
     <databricks.jdbc.version>3.3.1</databricks.jdbc.version>
-    <snowflake.jdbc.version>4.0.2</snowflake.jdbc.version>
+    <snowflake.jdbc.version>4.1.0</snowflake.jdbc.version>
     <terajdbc.version>20.00.00.39</terajdbc.version>
     <!-- Used for SBT build to retrieve the Spark version -->
     <spark.version>${project.version}</spark.version>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org