rok commented on pull request #11026: URL: https://github.com/apache/arrow/pull/11026#issuecomment-910649581
So then we now have: `DayOfWeekOptions` with `week_start` and `one_based_numbering` We would need to add three binary parameters to match the 8 modes of MySQL: * `WeekOptions` with `week_start` (first day of week),`count_from_zero` (range), `count_full_weeks` (week 1 is ..) Mode | First day of week | Range | Week 1 is the first week -- | -- | -- | -- 0 | Sunday | 0-53 | with a Sunday in this year 1 | Monday | 0-53 | with 4 or more days this year 2 | Sunday | 1-53 | with a Sunday in this year 3 | Monday | 1-53 | with 4 or more days this year 4 | Sunday | 0-53 | with 4 or more days this year 5 | Monday | 0-53 | with a Monday in this year 6 | Sunday | 1-53 | with 4 or more days this year 7 | Monday | 1-53 | with a Monday in this year -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
