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).
I found myself confused while trying to trace back date translations in
dbplyr
to their non-SQL origins, specificallybase
vs.lubridate
functions:months()
tolubridate
, when the translations actually correspond tobase::months()
days()
tobase
R (actually corresponds tolubridate::days()
I've proposed minor comments to hopefully prevent this confusion for future folks referencing these backend-specific translations for
days()
andmonths()
(only available for Postgres and Snowflake - the latter was mirrored from the former).cc: @fh-afrachioni