-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-14825: [C++] Temporal component extraction function for extracting epiyear #12372
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
Conversation
|
Would |
|
us_year seems to better in that regard. (Looking it up - it turns out "epiweek" means something different in the US vs the rest of the world? Oof.) |
Well we're looking to mirror lubridate's epiyear for our R implementation, see ARROW-14824. |
|
us_epiyear makes sense. |
|
@lidavidm Switched to |
|
Ah, the function doc description needs to be line-wrapped. |
|
Fixed. |
|
Should there then also be an equivalent |
|
@jorisvandenbossche we currently have |
|
OK, I see. For consistency with |
|
I don't mind either way. US year seems good because it's consistent with the ISO year definition - year starts with week 1 and it's either from Monday (ISO) for Sunday (US). On the other hand it is inventing a new name :). |
|
The "us_week" was also a new invented name at the time? (or is that used elsewhere) |
So was |
|
@jorisvandenbossche done. |
|
Benchmark runs are scheduled for baseline = cce55b4 and contender = 54f6c03. 54f6c03 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
Thanks @lidavidm @jorisvandenbossche ! |
This is to resolve ARROW-14825.