gowerc opened a new issue, #47257:
URL: https://github.com/apache/arrow/issues/47257

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When running `arrow::write_parquet()` on a `hms::hms()` column it appears to 
truncate any fractional part of the seconds component, this is despite the fact 
that the corresponding time32 variable appears to supports microseconds which 
means at the very least it should have up to 3 decimal places of precision.
   
   Reproducible example:
   ```R
   dat <- dplyr::tibble(
       hms::hms(hours = 0, minutes = 0, seconds = 10.1234)
   )
   dat
   #  A tibble: 1 × 1
   #  `hms::hms(hours = 0, minutes = 0, seconds = 10.1234)`
   #  <time>                                               
   # 1 00'10.1234"    
   arrow::write_parquet(dat, "./data/debug.parquet")
   arrow::read_parquet("./data/debug.parquet")
   #  A tibble: 1 × 1
   #  `hms::hms(hours = 0, minutes = 0, seconds = 10.1234)`
   #  <time>                                               
   # 1 00'10"  
   ``` 
   
   ### 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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to