Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed May 22, 2024
1 parent 397699e commit b24aa23
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spark-connector/spark-connector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ val scalaCollectionCompatVersion: String = libs.versions.scala.collection.compat
dependencies {
implementation(project(":catalogs:bundled-catalog", configuration = "shadow"))
implementation(libs.guava)
implementation("org.apache.iceberg:iceberg-spark-runtime-${sparkMajorVersion}_$scalaVersion:$icebergVersion")
compileOnly("org.apache.iceberg:iceberg-spark-runtime-${sparkMajorVersion}_$scalaVersion:$icebergVersion")
implementation("org.apache.kyuubi:kyuubi-spark-connector-hive_$scalaVersion:$kyuubiVersion")

// unable to run IT in embedded mode if including client-java-runtime and common module
Expand Down Expand Up @@ -79,7 +79,9 @@ dependencies {
testImplementation(libs.mysql.driver)
testImplementation(libs.testcontainers)

// org.apache.iceberg.rest.RESTSerializers#registerAll(ObjectMapper) has different method signature for iceberg-core and iceberg-spark-runtime package, we must make sure iceberg-core is in front to start up MiniGravitino server.
testImplementation("org.apache.iceberg:iceberg-core:$icebergVersion")
testImplementation("org.apache.iceberg:iceberg-spark-runtime-${sparkMajorVersion}_$scalaVersion:$icebergVersion")
testImplementation("org.apache.iceberg:iceberg-hive-metastore:$icebergVersion")
// include spark-sql,spark-catalyst,hive-common,hdfs-client
testImplementation("org.apache.spark:spark-hive_$scalaVersion:$sparkVersion") {
Expand Down Expand Up @@ -120,7 +122,3 @@ tasks.test {
tasks.clean {
delete("spark-warehouse")
}

tasks.test {
jvmArgs("-verbose:class")
}

0 comments on commit b24aa23

Please sign in to comment.