Omega359 opened a new issue, #9030:
URL: https://github.com/apache/arrow-rs/issues/9030

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   As part of updating Datafusion to better support date / time math operations 
(https://github.com/apache/datafusion/issues/19022 among others) it was 
uncovered that arrow-rs does not support interval * / number ops that should be 
valid.
   
   For example:
   
   Multiply an interval by a scalar
   * interval '1 second' * 900 → 00:15:00
   * interval '1 day' * 21 → 21 days
   * interval '1 hour' * 3.5 → 03:30:00
   
   Divide an interval by a scalar
   * interval '1 hour' / 1.5 → 00:40:00
   
   From https://www.postgresql.org/docs/current/functions-datetime.html
   
   **Describe the solution you'd like**
   
   Updated support for interval and scalar operations in arrow-arith
   
   **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]

Reply via email to