pmac0451 opened a new issue, #48832: URL: https://github.com/apache/arrow/issues/48832
### Describe the bug, including details regarding any error messages, version, and platform. ### Description Using R 4.5.2 there is an error using `arrow::write_parquet` with zero-length datetimes: `Error: Invalid: Invalid conversion to timestamp` I believe this may be caused by the following change in the [release note](https://cran.r-project.org/doc/manuals/r-patched/[NEWS.2.pdf](https://cran.r-project.org/doc/manuals/r-patched/NEWS.2.pdf)) for R 4.5.2 (patched): > `str(x, give.attr=FALSE)` no longer shows attributes when `x` is a zero length "Date" or "POSIXt" object. I can't be sure if the error was present before the patched release of 4.5.2 on 5 Jan 2026. ### Reprex ``` dplyr::tibble( timeStamp = as.POSIXct(x = NULL), # works ok with this line commented out otherColumn = character() ) |> arrow::write_parquet( sink = tempfile(fileext = ".parquet") ) ``` ### Component(s) 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]
