Skip to content

Commit

Permalink
#147: Added support for Apache Spark 3.4.0 version (#148)
Browse files Browse the repository at this point in the history
Fixes #147
  • Loading branch information
morazow authored Apr 20, 2023
1 parent 0ce8e9d commit 5942981
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 67 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
exasol-docker-version: [ 7.1.18 ]
mvn:
[
{
name: 'Spark3.4',
profile: '-Pspark3.4',
project-keeper-skip: false,
},
{
name: 'Spark3.3',
profile: '-Pspark3.3',
Expand All @@ -30,12 +35,6 @@ jobs:
profile: '-Pspark3.3-scala2.12',
project-keeper-skip: false,
},
# Build for 3.2 disabled until a fix version is available that deals with CVE-2022-42003 and CVE-2022-42004
#{
# name: 'Spark3.2',
# profile: '-Pspark3.2',
# project-keeper-skip: true,
#},
]
steps:
- name: Checkout the repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
profile: [ '-Pspark3.3', '-Pspark3.3-scala2.12' ]
profile: [ '-Pspark3.4', '-Pspark3.3', '-Pspark3.3-scala2.12' ]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_droid_print_quick_checksum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
profile: [ '-Pspark3.3', '-Pspark3.3-scala2.12' ]
profile: [ '-Pspark3.4', '-Pspark3.3', '-Pspark3.3-scala2.12' ]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
profile: [ '-Pspark3.3', '-Pspark3.3-scala2.12' ]
profile: [ '-Pspark3.4', '-Pspark3.3', '-Pspark3.3-scala2.12' ]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
profile: [ '-Pspark3.3', '-Pspark3.3-scala2.12' ]
profile: [ '-Pspark3.4', '-Pspark3.3', '-Pspark3.3-scala2.12' ]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down
80 changes: 40 additions & 40 deletions dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions doc/changes/changes_1.3.1.md → doc/changes/changes_1.4.0.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# The Spark Exasol Connector 1.3.1, released 2023-??-??
# The Spark Exasol Connector 1.4.0, released 2023-04-24

Code name:
Code name: Support Apache Spark 3.4.0

## Summary

In this release, we added support for the [Apache Spark 3.4.0 version](https://spark.apache.org/releases/spark-release-3-4-0.html). With this release, users could use the Exasol connector in the latest Apache Spark clusters such as Azure Databricks.

We also fixed bugs due to the missing dependency classes when using the connector as a Maven dependency in the Spark applications.

## Features

* #147: Added support for Apache Spark 3.4.0 version

## Bug Fixes

* #143: Fixed broken link in Readme file
Expand Down
2 changes: 1 addition & 1 deletion pk_generated_parent.pom

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 19 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>spark-connector</artifactId>
<version>1.3.1</version>
<version>1.4.0</version>
<name>The Spark Exasol Connector</name>
<description>A connector for Apache Spark to access Exasol</description>
<url>https://github.com/exasol/spark-connector/</url>
<parent>
<artifactId>spark-connector-generated-parent</artifactId>
<groupId>com.exasol</groupId>
<version>1.3.1</version>
<version>1.4.0</version>
<relativePath>pk_generated_parent.pom</relativePath>
</parent>
<properties>
Expand Down Expand Up @@ -255,6 +255,10 @@
<groupId>javax.servlet</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -601,6 +605,8 @@
<failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
<ignoredResourcePatterns>
<ignoredResourcePattern>git.properties</ignoredResourcePattern>
<ignoredResourcePattern>arrow-git.properties</ignoredResourcePattern>
<ignoredResourcePattern>.*\.proto$</ignoredResourcePattern>
</ignoredResourcePatterns>
</configuration>
</plugin>
Expand Down Expand Up @@ -694,10 +700,20 @@
</build>
<profiles>
<profile>
<id>spark3.3</id>
<id>spark3.4</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spark.version>3.4.0</spark.version>
<scala.version>2.13.10</scala.version>
<scala.compat.version>2.13</scala.compat.version>
<jackson.version>2.14.2</jackson.version>
<jersey.version>3.1.1</jersey.version>
</properties>
</profile>
<profile>
<id>spark3.3</id>
<properties>
<spark.version>3.3.2</spark.version>
<scala.version>2.13.10</scala.version>
Expand All @@ -720,15 +736,5 @@
<jersey.version>3.1.1</jersey.version>
</properties>
</profile>
<profile>
<id>spark3.2</id>
<properties>
<spark.version>3.2.3</spark.version>
<scala.version>2.13.10</scala.version>
<scala.compat.version>2.13</scala.compat.version>
<jackson.version>2.12.7.1</jackson.version>
<jersey.version>3.1.1</jersey.version>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 5942981

Please sign in to comment.