[ 
https://issues.apache.org/jira/browse/ARROW-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419184#comment-17419184
 ] 

Joris Van den Bossche commented on ARROW-11090:
-----------------------------------------------

For the date arithmetic in general, some questions:

- {{subtract(date, date)}} is listed as returning {{duration}}, but in theory 
could also give a interval? (number of days)
- For kernels involving {{date}} input and result in {{timestamp}}, do we 
generally consider those date/timestamps as naive or as UTC? 

(another option could be to require the user to first convert the date to 
timestamp themselves, before adding a duration, in which case you can be 
explicit about the timezone)

> [C++] Support temporal arithmetic ({time,date}{32,64}, timestamp, duration)
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-11090
>                 URL: https://issues.apache.org/jira/browse/ARROW-11090
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Jonathan Keane
>            Priority: Major
>              Labels: kernel
>             Fix For: 7.0.0
>
>
> [It appears that only subtract on two timestamps is currently 
> supported|https://github.com/apache/arrow/commit/dd94a5809b56b32fe2fb538f688bf568d9642e3b]
>  when there is more supported, we should include support for that in R.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to