You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "izveigor (via GitHub)" <gi...@apache.org> on 2023/05/06 19:17:20 UTC

[GitHub] [arrow-rs] izveigor opened a new issue, #4178: Support `Interval` +/- `Interval`

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   `arrow-rs` does not support arithmetic between intervals, which does not allow full use of these data types. 
   
   The feature can be useful for the following situations:
   - know the difference between one period of time and another
   - calculate the total time of some action
   
   That feature can also be used by `arrow-datafusion` for interval arithmetics.
   
   **Describe the solution you'd like**
   New functions for `IntervalYearMonthType`, `IntervalDayTimeType` and `IntervalMonthDayNanoType`:
   - add_day_time
   - add_year_months
   - add_month_day_nano
   - subtract_day_time
   - subtract_year_months
   - subtract_month_day_nano
   
   The functions `add_dyn` and `substract_dyn` start to support arithmetic between `Intervals`.
   
   **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: github-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow-rs] tustvold commented on issue #4178: Support `Interval` +/- `Interval`

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4178:
URL: https://github.com/apache/arrow-rs/issues/4178#issuecomment-1552716090

   `label_issue.py` automatically added labels {'arrow'} from #4179


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


[GitHub] [arrow-rs] izveigor closed issue #4178: Support `Interval` +/- `Interval`

Posted by "izveigor (via GitHub)" <gi...@apache.org>.
izveigor closed issue #4178: Support `Interval` +/- `Interval`
URL: https://github.com/apache/arrow-rs/issues/4178


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