Skip to content

Commit

Permalink
SNOW-824420 Update SC version to 2.12.0 (#512)
Browse files Browse the repository at this point in the history
* SNOW-824420 Update SC version to 2.12.0

* Update spark version in build_image.sh
  • Loading branch information
sfc-gh-mrui authored May 23, 2023
1 parent 463678d commit fedb7a3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/docker/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ cd ../..

# Build docker image
docker build \
--build-arg SPARK_URL=https://archive.apache.org/dist/spark/spark-3.3.0/spark-3.3.0-bin-hadoop3.tgz \
--build-arg SPARK_BINARY_NAME=spark-3.3.0-bin-hadoop3.tgz \
--build-arg SPARK_URL=https://archive.apache.org/dist/spark/spark-3.4.0/spark-3.4.0-bin-hadoop3.tgz \
--build-arg SPARK_BINARY_NAME=spark-3.4.0-bin-hadoop3.tgz \
--build-arg JDBC_URL=https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/${TEST_JDBC_VERSION}/$JDBC_JAR_NAME \
--build-arg JDBC_BINARY_NAME=$JDBC_JAR_NAME \
--build-arg SPARK_CONNECTOR_LOCATION=target/scala-${TEST_SCALA_VERSION}/$SPARK_CONNECTOR_JAR_NAME \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ClusterTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
DOCKER_IMAGE_TAG: 'snowflakedb/spark-base:3.4.0'
TEST_SCALA_VERSION: '2.12'
TEST_COMPILE_SCALA_VERSION: '2.12.11'
TEST_SPARK_CONNECTOR_VERSION: '2.11.3'
TEST_SPARK_CONNECTOR_VERSION: '2.12.0'
TEST_JDBC_VERSION: '3.13.30'

steps:
Expand Down
2 changes: 1 addition & 1 deletion ClusterTest/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

val sparkConnectorVersion = "2.11.3"
val sparkConnectorVersion = "2.12.0"
val scalaVersionMajor = "2.12"
val sparkVersionMajor = "3.4"
val sparkVersion = s"${sparkVersionMajor}.0"
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ val testSparkVersion = sys.props.get("spark.testVersion").getOrElse("3.4.0")
* Tests/jenkins/BumpUpSparkConnectorVersion/run.sh
* in snowflake repository.
*/
val sparkConnectorVersion = "2.11.3"
val sparkConnectorVersion = "2.12.0"

lazy val ItTest = config("it") extend Test

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/net/snowflake/spark/snowflake/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ object Utils {
*/
val SNOWFLAKE_SOURCE_SHORT_NAME = "snowflake"

val VERSION = "2.11.3"
val VERSION = "2.12.0"

/**
* The certified JDBC version to work with this spark connector version.
Expand Down

0 comments on commit fedb7a3

Please sign in to comment.