Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Temporal component extraction function for extracting epiyear #30357

Closed
asfimport opened this issue Nov 24, 2021 · 1 comment
Closed

[C++] Temporal component extraction function for extracting epiyear #30357

asfimport opened this issue Nov 24, 2021 · 1 comment

Comments

@asfimport
Copy link

asfimport commented Nov 24, 2021

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.

Reporter: Nicola Crane / @thisisnic
Assignee: Rok Mihevc / @rok
Watchers: Rok Mihevc / @rok

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-14825. Please see the migration documentation for further details.

@asfimport
Copy link
Author

David Li / @lidavidm:
Issue resolved by pull request 12372
#12372

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants