bjchambers opened a new issue #685: URL: https://github.com/apache/arrow-rs/issues/685
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** After computing the days between two timestamps to produce an interval days, it would be useful to be able to convert that to a number. This is helpful because (1) some output formats don't support durations/intervals and (2) it may be desirable to do math on the number of days / months / seconds. **Describe the solution you'd like** The cast kernel extended to support casting from Duration and Interval Types to at least the corresponding primitive type. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
