eitsupi commented on issue #47257: URL: https://github.com/apache/arrow/issues/47257#issuecomment-3155444782
FYI, the polars package converts `hms` objects with time64 precision, since `hms` objects have precision of nanoseconds or better in the range from 00:00 to 24:00. ``` r dat <- dplyr::tibble( time = hms::hms(hours = c(0, 23), minutes = c(0, 59), seconds = c(0.000000001, 59.999999999)) ) polars::as_polars_df(dat) |> arrow::as_arrow_table() |> arrow::write_parquet("test.parquet") arrow::read_parquet("test.parquet", as_data_frame = FALSE)[, 1, drop = TRUE] #> ChunkedArray #> <time64[ns]> #> [ #> [ #> 00:00:00.000000001, #> 23:59:59.999999999 #> ] #> ] ``` <sup>Created on 2025-08-05 with [reprex v2.1.1](https://reprex.tidyverse.org)</sup> -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org