Search Maven Central for spark-snowflake . Ensure you select the artifact that matches your Scala and Spark versions.
To use Spark with Snowflake, you need two essential JAR files: the and the Snowflake JDBC Driver . Together, they allow Spark to treat Snowflake as a native data source for reading and writing operations. Where to Download Spark Snowflake JARs spark snowflake jar download
Use the --packages flag to let Spark download the JARs and their dependencies automatically: Installing and Configuring the Spark Connector Search Maven Central for spark-snowflake
Use version 2.x (e.g., spark-snowflake_2.12:2.12.0-spark_3.4 ) Use versions prior to 2.12.0 (e.g., 2.9.0-spark_3.1 ) Spark 2.4 Use version 2.9.3 or earlier (e.g., 2.5.2-spark_2.4 ) How to Install the JAR Files Together, they allow Spark to treat Snowflake as
Search Maven Central for snowflake-jdbc . The Spark connector depends on this driver to establish the low-level connection. Compatibility Matrix
Choosing the correct version is critical to avoid ClassNotFoundException or MethodNotFoundException errors. Spark Version Scala Version Recommended Connector Version Pattern 2.12, 2.13 Use version 3.x (e.g., spark-snowflake_2.12:3.x.x ) Spark 3.2 - 3.4