diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index f17a746af8..f8e4f6b204 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -81,6 +81,10 @@ jobs: scala: 2.12.15 jdk: '11' skipTests: '' + - spark: 3.3.0 + scala: 2.13.8 + jdk: '8' + skipTests: '' - spark: 3.3.0 scala: 2.12.15 jdk: '8' diff --git a/spark/spark-3.3/src/main/scala/org/apache/sedona/sql/datasources/geopackage/GeoPackageScanBuilder.scala b/spark/spark-3.3/src/main/scala/org/apache/sedona/sql/datasources/geopackage/GeoPackageScanBuilder.scala index b364212aa9..6a3ad790fe 100644 --- a/spark/spark-3.3/src/main/scala/org/apache/sedona/sql/datasources/geopackage/GeoPackageScanBuilder.scala +++ b/spark/spark-3.3/src/main/scala/org/apache/sedona/sql/datasources/geopackage/GeoPackageScanBuilder.scala @@ -18,15 +18,14 @@ */ package org.apache.sedona.sql.datasources.geopackage -import org.apache.sedona.sql.datasources.geopackage.model.{GeoPackageLoadOptions, GeoPackageOptions} +import org.apache.sedona.sql.datasources.geopackage.model.GeoPackageOptions import org.apache.spark.sql.SparkSession import org.apache.spark.sql.connector.read.Scan -import org.apache.spark.sql.execution.datasources.{InMemoryFileIndex, PartitioningAwareFileIndex} import org.apache.spark.sql.execution.datasources.v2.FileScanBuilder +import org.apache.spark.sql.execution.datasources.{InMemoryFileIndex, PartitioningAwareFileIndex} import org.apache.spark.sql.types.StructType import org.apache.spark.sql.util.CaseInsensitiveStringMap - -import scala.jdk.CollectionConverters.mapAsScalaMapConverter +import scala.jdk.CollectionConverters._ class GeoPackageScanBuilder( sparkSession: SparkSession,