Skip to content

Commit

Permalink
r tests adjusted to "as_path" strategy to match checkpoint = true as …
Browse files Browse the repository at this point in the history
…default.
  • Loading branch information
mjohns-databricks committed Sep 3, 2024
1 parent c4bf4d1 commit f987f70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ generate_singleband_raster_df <- function() {
read.df(
path = "sparkrMosaic/tests/testthat/data/MCD43A4.A2018185.h10v07.006.2018194033728_B04.TIF",
source = "gdal",
raster.read.strategy = "in_memory"
raster.read.strategy = "as_path" # <- changed to "as_path" strategy
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ generate_singleband_raster_df <- function() {
name = "raster",
source = "gdal",
path = "data/MCD43A4.A2018185.h10v07.006.2018194033728_B04.TIF",
options = list("raster.read.strategy" = "in_memory")
options = list("raster.read.strategy" = "as_path") # <- changed to "as_path" strategy
)
}

Expand Down

0 comments on commit f987f70

Please sign in to comment.