Skip to content

Commit

Permalink
Fix tests for spark 3.5 and 3.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Imbruced committed Oct 12, 2024
1 parent 18186b9 commit fc24a6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ import java.io.File
import java.sql.ResultSet

case class GeoPackagePartitionReader(
var rs: ResultSet,
options: GeoPackageReadOptions,
broadcastedConf: Broadcast[SerializableConfiguration],
var currentTempFile: File,
copying: Boolean = false)
extends PartitionReader[InternalRow] {
var rs: ResultSet,
options: GeoPackageReadOptions,
broadcastedConf: Broadcast[SerializableConfiguration],
var currentTempFile: File,
copying: Boolean = false)
extends PartitionReader[InternalRow] {

private var values: Seq[Any] = Seq.empty
private var currentFile = options.currentFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ import org.apache.spark.sql.types.StructType
import org.apache.spark.util.SerializableConfiguration

case class GeoPackagePartitionReaderFactory(
sparkSession: SparkSession,
broadcastedConf: Broadcast[SerializableConfiguration],
loadOptions: GeoPackageOptions,
dataSchema: StructType)
extends PartitionReaderFactory {
sparkSession: SparkSession,
broadcastedConf: Broadcast[SerializableConfiguration],
loadOptions: GeoPackageOptions,
dataSchema: StructType)
extends PartitionReaderFactory {

override def createReader(partition: InputPartition): PartitionReader[InternalRow] = {
val partitionFiles = partition match {
Expand Down

0 comments on commit fc24a6e

Please sign in to comment.