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

Nicola Crane commented on ARROW-14822:
--------------------------------------

Actually; this might be a bit different to just extending floor/ceiling/round - 
we want to be able to support the {{lubridate}} functions here: 
https://lubridate.tidyverse.org/reference/round_date.html

We basically would like to be able to round a date, specifying which component 
to round it to (in {{lubridate}} valid value for {{unit}} are second, minute, 
hour, day, week, month, bimonth, quarter, season, halfyear and year), and 
account for the additional complication of specifying the day on which the week 
starts when rounding by week.

> [C++] Implement floor/ceil/round for temporal objects
> -----------------------------------------------------
>
>                 Key: ARROW-14822
>                 URL: https://issues.apache.org/jira/browse/ARROW-14822
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Nicola Crane
>            Priority: Minor
>
> This would enable us to implement the linked R ticket



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to