You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/06/12 12:12:21 UTC

[GitHub] [arrow] DavisVaughan commented on pull request #7415: ARROW-7028: [R] Date roundtrip results in different R storage mode

DavisVaughan commented on pull request #7415:
URL: https://github.com/apache/arrow/pull/7415#issuecomment-643237635


   @romainfrancois `funs::if_else()` is one of the few functions that is already implemented in funs and it does handle this correctly. `vec_cast()` and `vec_ptype2()` always push towards numeric Dates, no matter what the input is. I would imagine the same should happen here.
   
   I would say the round trip options are:
   
   ```
   Date<int> -> arrow -> Date<dbl>
   Date<dbl> -> arrow -> Date<dbl>
   ```


----------------------------------------------------------------
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.

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