Skip to content

Commit

Permalink
updated version of delta and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sllynn committed Nov 20, 2024
1 parent 0546287 commit 89e4502
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,15 @@
</dependency>
<dependency>
<groupId>io.delta</groupId>
<artifactId>delta-core_${scala.compat.version}</artifactId>
<version>2.4.0</version>
<artifactId>delta-spark_${scala.compat.version}</artifactId>
<version>3.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.2</version>
</dependency>
<!-- log4j -->
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -193,7 +198,7 @@
<configuration>
<!-- Tests will be run with scalatest-maven-plugin instead -->
<skipTests>true</skipTests>
<argLine>@{argLine} -Djava.library.path=/usr/local/lib;/usr/java/packages/lib;/usr/lib64;/lib64;/lib;/usr/lib</argLine>
<argLine>@{argLine} -Djava.library.path=/usr/local/lib;/usr/java/packages/lib;/usr/lib64;/lib64;/lib;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/lib/x86_64-linux-gnu/jni</argLine>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ object MosaicGDAL extends Logging {
// noinspection ScalaStyle
private def loadOrNOOP(path: String): Unit = {
try {
// if (Files.exists(Paths.get(path))) System.load(path)
System.load(path)
} catch {
case t: Throwable =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ package com.databricks.labs.mosaic.models.knn
import com.databricks.labs.mosaic.core.geometry.api.JTS
import com.databricks.labs.mosaic.core.index.{BNGIndexSystem, H3IndexSystem}
import com.databricks.labs.mosaic.functions.MosaicContext
import com.databricks.labs.mosaic.test.SparkSuite
import com.databricks.labs.mosaic.{MOSAIC_GEOMETRY_API, MOSAIC_INDEX_SYSTEM, MOSAIC_RASTER_API}
import com.databricks.labs.mosaic.sql.extensions.SQLExtensionsBehaviors
import com.databricks.labs.mosaic.test.{MosaicSpatialQueryTest, SparkSuite}
import org.apache.spark.SparkConf
import org.apache.spark.sql.test.SharedSparkSession
import org.scalatest.flatspec.AnyFlatSpec

class SpatialKNNTest extends AnyFlatSpec with SpatialKNNBehaviors with SparkSuite {
Expand Down

0 comments on commit 89e4502

Please sign in to comment.