Skip to content

Conversation

fh-mthomson
Copy link
Contributor

I found myself confused while trying to trace back date translations in dbplyr to their non-SQL origins, specifically base vs. lubridate functions:

  • months() to lubridate, when the translations actually correspond to base::months()
  • days() to base R (actually corresponds to lubridate::days()

I've proposed minor comments to hopefully prevent this confusion for future folks referencing these backend-specific translations for days() and months() (only available for Postgres and Snowflake - the latter was mirrored from the former).

cc: @fh-afrachioni

@fh-mthomson fh-mthomson changed the title Mthomson/months not lubridate add comments to date translation to clarify non-SQL origins (months(), days() on Postgres + Snowflake) Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant