-
Notifications
You must be signed in to change notification settings - Fork 78
Spark 4 support #452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spark 4 support #452
Changes from 9 commits
db42f5f
ceb5e88
0975865
552287d
ce8c148
6ec7406
6d449b3
5d8ccbe
fc343e8
a5d3234
15ea56f
cb80ad3
48d80e0
7aa037d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,7 +106,11 @@ allprojects { | |
| subprojects { | ||
| apply plugin: "scala" | ||
| apply plugin: "java-library" | ||
| apply plugin: "org.scoverage" | ||
| // Disable scoverage when running Metals' bloopInstall to avoid plugin resolution issues | ||
| def isBloopInstall = gradle.startParameter.taskNames.any { it.contains('bloopInstall') } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you check if it does not affect IntelliJ?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It shouldn't affect as IntelliJ uses its own build server and it doesn't use Bloop at all |
||
| if (!project.hasProperty('disableScoverage') && !isBloopInstall) { | ||
| apply plugin: "org.scoverage" | ||
| } | ||
| apply plugin: "com.diffplug.spotless" | ||
| apply plugin: "com.github.maiflai.scalatest" | ||
|
|
||
|
|
@@ -168,11 +172,13 @@ subprojects { | |
| } | ||
| } | ||
|
|
||
| scoverage { | ||
| scoverageVersion = "2.0.11" | ||
| reportDir.set(file("${rootProject.buildDir}/reports/scoverage")) | ||
| highlighting.set(false) | ||
| minimumRate.set(0.0) | ||
| if (plugins.hasPlugin('org.scoverage')) { | ||
| scoverage { | ||
| scoverageVersion = "2.0.11" | ||
| reportDir.set(file("${rootProject.buildDir}/reports/scoverage")) | ||
| highlighting.set(false) | ||
| minimumRate.set(0.0) | ||
| } | ||
| } | ||
|
|
||
| spotless { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,10 +16,10 @@ mavenCentralMirror=https://repo1.maven.org/maven2/ | |
| mavenSnapshotsRepo=https://central.sonatype.com/repository/maven-snapshots/ | ||
| mavenReleasesRepo=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ | ||
|
|
||
| systemProp.scala_binary_version=2.12 | ||
| systemProp.scala_binary_version=2.13 | ||
| systemProp.known_scala_binary_versions=2.12,2.13 | ||
| systemProp.spark_binary_version=3.5 | ||
| systemProp.known_spark_binary_versions=3.3,3.4,3.5 | ||
| systemProp.spark_binary_version=4.0 | ||
| systemProp.known_spark_binary_versions=3.3,3.4,3.5,4.0 | ||
|
|
||
| group=com.clickhouse.spark | ||
|
|
||
|
|
@@ -29,26 +29,32 @@ clickhouse_client_v2_version=0.9.4 | |
| spark_33_version=3.3.4 | ||
| spark_34_version=3.4.2 | ||
| spark_35_version=3.5.1 | ||
| spark_40_version=4.0.1 | ||
|
|
||
| spark_33_scala_212_version=2.12.15 | ||
| spark_34_scala_212_version=2.12.17 | ||
| spark_35_scala_212_version=2.12.18 | ||
| spark_40_scala_212_version=2.12.18 | ||
|
||
|
|
||
| spark_33_scala_213_version=2.13.8 | ||
| spark_34_scala_213_version=2.13.8 | ||
| spark_35_scala_213_version=2.13.8 | ||
| spark_40_scala_213_version=2.13.8 | ||
|
|
||
| spark_33_antlr_version=4.8 | ||
| spark_34_antlr_version=4.9.3 | ||
| spark_35_antlr_version=4.9.3 | ||
| spark_40_antlr_version=4.13.1 | ||
|
|
||
| spark_33_jackson_version=2.13.4 | ||
| spark_34_jackson_version=2.14.2 | ||
| spark_35_jackson_version=2.15.2 | ||
| spark_40_jackson_version=2.17.0 | ||
|
|
||
| spark_33_slf4j_version=1.7.32 | ||
| spark_34_slf4j_version=2.0.6 | ||
| spark_35_slf4j_version=2.0.7 | ||
| spark_40_slf4j_version=2.0.7 | ||
|
|
||
| # Align with Apache Spark, and don't bundle them in release jar. | ||
| commons_lang3_version=3.12.0 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.