You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce: As is noted in the SQL limitation document, EXTRACT for WEEK or WEEK() return an integer between 0 and 53. This is in line with the MongoDB interpretation of week numbers but other databases more commonly return a value between 1 and 53. While this follows the MongoDB behavior, it would be ideal to also have the option to use isoWeek which Mongo also supports get access to the week number in ISO 8601 format.
Same goes for FLOOR(timestamp TO timeunit), basically things that have to do with week numbering.
Expected behaviour: Week number in ISO 8601 format also being available
Actual behaviour: Currently only supports 0-53 in WEEK
Error message/stack trace: N/A
Any other details that can be helpful: This would be desirable since while this does follow the Mongo behavior, the inconsistency with other databases leads to some difficulties in the development of database connectors using this driver, which can be easily resolved with the ISO format being an option. Thanks.
The text was updated successfully, but these errors were encountered:
Environment
Problem Description
Same goes for FLOOR(timestamp TO timeunit), basically things that have to do with week numbering.
The text was updated successfully, but these errors were encountered: