[
https://issues.apache.org/jira/browse/ARROW-14825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-14825.
------------------------------
Fix Version/s: 8.0.0
Resolution: Fixed
Issue resolved by pull request 12372
[https://github.com/apache/arrow/pull/12372]
> [C++] Temporal component extraction function for extracting epiyear
> -------------------------------------------------------------------
>
> Key: ARROW-14825
> URL: https://issues.apache.org/jira/browse/ARROW-14825
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Nicola Crane
> Assignee: Rok Mihevc
> Priority: Minor
> Labels: good-second-issue, kernel, pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> We currently support {{epi_week()}} via the {{us_week}} kernel. Can we
> support {{epi_year()}} too?
> epiyear in lubridate:
> https://github.com/tidyverse/lubridate/blob/10731d1876f8cb902f01f8edb2810a09ce5784a4/R/accessors-year.r#L48-L69
> I think this might be somewhat similar to MySQL's {{yearweek}}. It doesn't
> seem to be implemented universally, e.g. I don't think it's a thing in
> Postgres
> If this isn't something desirable to implement at the C++ level, it's still
> possible to implement at the R level after a number of other temporal-related
> functions are implemented.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)