Uh oh!
There was an error while loading. Please reload this page.
ARROW-14825: [C++] Temporal component extraction function for extracting epiyear - #12372
ARROW-14825: [C++] Temporal component extraction function for extracting epiyear#12372rok wants to merge 3 commits into
Conversation
rok
commented
Feb 9, 2022
Would |
lidavidm
commented
Feb 9, 2022
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.) |
rok
commented
Feb 9, 2022
Well we're looking to mirror lubridate's epiyear for our R implementation, see ARROW-14824. |
lidavidm
commented
Feb 9, 2022
us_epiyear makes sense. |
@lidavidm Switched to |
lidavidm
commented
Feb 9, 2022
Ah, the function doc description needs to be line-wrapped. |
rok
commented
Feb 9, 2022
Fixed. |
jorisvandenbossche
commented
Feb 10, 2022
Should there then also be an equivalent |
rok
commented
Feb 10, 2022
@jorisvandenbossche we currently have |
jorisvandenbossche
commented
Feb 10, 2022
OK, I see. For consistency with |
rok
commented
Feb 10, 2022
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 :). |
jorisvandenbossche
commented
Feb 10, 2022
The "us_week" was also a new invented name at the time? (or is that used elsewhere) |
rok
commented
Feb 10, 2022
So was |
rok
commented
Feb 10, 2022
@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. |
rok
commented
Feb 10, 2022
Thanks @lidavidm@jorisvandenbossche ! |
This is to resolve ARROW-14825.