Skip to content

Commit

Permalink
Add for other spark versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Imbruced committed Oct 11, 2024
1 parent 79ced5a commit 351b650
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ case class GeoPackageScan(
}

def withFilters(partitionFilters: Seq[Expression], dataFilters: Seq[Expression]): FileScan = {
copy(partitionFilters = partitionFilters, dataFilters = dataFilters)
copy(partitionFilters = Seq.empty, dataFilters = Seq.empty)
}
override def createReaderFactory(): PartitionReaderFactory = {
val caseSensitiveMap = options.asScala.toMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ case class GeoPackageScan(
}

def withFilters(partitionFilters: Seq[Expression], dataFilters: Seq[Expression]): FileScan = {
copy(partitionFilters = partitionFilters, dataFilters = dataFilters)
copy(partitionFilters = Seq.empty, dataFilters = Seq.empty)
}

override def createReaderFactory(): PartitionReaderFactory = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ case class GeoPackageScan(
}

def withFilters(partitionFilters: Seq[Expression], dataFilters: Seq[Expression]): FileScan = {
copy(partitionFilters = partitionFilters, dataFilters = dataFilters)
copy(partitionFilters = Seq.empty, dataFilters = Seq.empty)
}

override def createReaderFactory(): PartitionReaderFactory = {
Expand Down

0 comments on commit 351b650

Please sign in to comment.