Skip to content

[CI][R][Parquet] "test-parquet.R: simple int column roundtrip" failure #38130

@kou

Description

@kou

Describe the bug, including details regarding any error messages, version, and platform.

GH-37854 changed the default pre_buffer value to true. After that, "test-parquet.R: simple int column roundtrip" failed on Windows:

https://github.com/apache/arrow/actions/runs/6428740951/job/17457269394

-- Failure ('test-parquet.R:39:3'): simple int column roundtrip ----------------
file.exists(pq_tmp_file) is not FALSE

`actual`:   TRUE 
`expected`: FALSE
-- Error ('test-parquet.R:294:3'): write_parquet() handles version argument ----
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(.x, .f, ..., .progress = .progress)`: i In index: 2.
Caused by error:
! IOError: Failed to open local file 'C:/Users/runneradmin/AppData/Local/Temp/RtmpKQDBMp/working_dir/RtmpqeT41T/filebec68cc3983'. Detail: [Windows error 1224] The requested operation cannot be performed on a file with a user-mapped section open.

Backtrace:
     x
  1. +-purrr::walk(...) at test-parquet.R:294:2
  2. | \-purrr::map(.x, .f, ..., .progress = .progress)
  3. |   \-purrr:::map_("list", .x, .f, ..., .progress = .progress)
  4. |     +-purrr:::with_indexed_errors(...)
  5. |     | \-base::withCallingHandlers(...)
  6. |     +-purrr:::call_with_cleanup(...)
  7. |     \-arrow (local) .f(.x[[i]], ...)
  8. |       \-arrow::write_parquet(df, tf, version = .x) at test-parquet.R:295:4
  9. |         \-arrow:::make_output_stream(sink)
 10. |           \-FileOutputStream$create(x)
 11. |             \-arrow:::io___FileOutputStream__Open(clean_path_abs(path))
 12. \-base::.handleSimpleError(...)
 13.   \-purrr (local) h(simpleError(msg, call))
 14.     \-cli::cli_abort(...)
 15.       \-rlang::abort(...)

@thisisnic @paleolimbot @assignUser Could you take a look at this?

Component(s)

Continuous Integration, Parquet, R

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions