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
{{ message }}
Repository navigation
Add support for week function on PostgreSQL backend #675
Add support for week function to be translated in PostgreSQL backend. This should be fairly easy to do since PostgreSQL has a native implementation of this.
As specified in Postgres documentation, we can extract the week from a Date column with the following:
Activity
Add support for lubridate week() for PostgreSQL backend (tidyverse#675)
mgirlich commentedon Apr 5, 2022
I added a PR for this. Note that
SELECT EXTRACT(WEEK FROM TIMESTAMP '2001-02-16 20:38:40');is not the equivalent ofweek()but ofisoweek().