kou opened a new issue, #38130: URL: https://github.com/apache/arrow/issues/38130
### 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 ```text -- 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
