You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/04/01 15:57:42 UTC

[GitHub] [arrow-rs] tustvold commented on issue #3998: Support casting to/from Interval and Duration

tustvold commented on issue #3998:
URL: https://github.com/apache/arrow-rs/issues/3998#issuecomment-1493016667

   > as they are lossless
   
   TBC, the duration should be converted into the nanoseconds portion of `MonthDayNano`, returning an error or null (depending on CastOptions::safe) in the event of overflow. 
   
   As a result of daylight savings time, it would be incorrect to assume a day has 24 hours.
   
   > I am not sure what other, if any, casts should be supported
   
   Truncating casts to `MonthDayTime` might also be worthwhile
   


-- 
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-unsubscribe@arrow.apache.org

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