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:
us...@infra.apache.org


Reply via email to