@@ -41,8 +41,8 @@ test_that("Setup (putting data in the dir)", {
4141 # Now, an IPC format dataset
4242 dir.create(file.path(ipc_dir , 3 ))
4343 dir.create(file.path(ipc_dir , 4 ))
44- write_feather (df1 , file.path(ipc_dir , 3 , " file1.arrow" ))
45- write_feather (df2 , file.path(ipc_dir , 4 , " file2.arrow" ))
44+ write_ipc_file (df1 , file.path(ipc_dir , 3 , " file1.arrow" ))
45+ write_ipc_file (df2 , file.path(ipc_dir , 4 , " file2.arrow" ))
4646 expect_length(dir(ipc_dir , recursive = TRUE ), 2 )
4747})
4848
@@ -98,7 +98,7 @@ test_that("URI-decoding with directory partitioning", {
9898 selector <- FileSelector $ create(root , recursive = TRUE )
9999 dir1 <- file.path(root , " 2021-05-04 00%3A00%3A00" , " %24" )
100100 dir.create(dir1 , recursive = TRUE )
101- write_feather (df1 , file.path(dir1 , " data.feather " ))
101+ write_ipc_file (df1 , file.path(dir1 , " data.arrow " ))
102102
103103 partitioning <- DirectoryPartitioning $ create(
104104 schema(date = timestamp(unit = " s" ), string = utf8())
@@ -178,7 +178,7 @@ test_that("URI-decoding with hive partitioning", {
178178 selector <- FileSelector $ create(root , recursive = TRUE )
179179 dir1 <- file.path(root , " date=2021-05-04 00%3A00%3A00" , " string=%24" )
180180 dir.create(dir1 , recursive = TRUE )
181- write_feather (df1 , file.path(dir1 , " data.feather " ))
181+ write_ipc_file (df1 , file.path(dir1 , " data.arrow " ))
182182
183183 partitioning <- hive_partition(
184184 date = timestamp(unit = " s" ),
@@ -254,7 +254,7 @@ test_that("URI-decoding with hive partitioning with key encoded", {
254254 selector <- FileSelector $ create(root , recursive = TRUE )
255255 dir1 <- file.path(root , " test%20key=2021-05-04 00%3A00%3A00" , " test%20key1=%24" )
256256 dir.create(dir1 , recursive = TRUE )
257- write_feather (df1 , file.path(dir1 , " data.feather " ))
257+ write_ipc_file (df1 , file.path(dir1 , " data.arrow " ))
258258
259259 partitioning <- hive_partition(
260260 `test key` = timestamp(unit = " s" ),
0 commit comments