rok commented on pull request #11026:
URL: https://github.com/apache/arrow/pull/11026#issuecomment-908524995


   This evaluates to true in MySQL on sqlfiddle:
   ```SQL
   SELECT WEEK('2008-1-6', 1) != WEEK('2008-1-6', 4)
   ```
   
   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]


Reply via email to