We make extensive use of dbplyr and lubridate and it would be great to have functions like
lubridate::weeks, lubridate::months, etc... translated into '1 weeks' :: INTERVAL to enable easy date math
floor_date(date, 'month') translated into DATE_TRUNC('month', date)
These two sets of functions are used all the time all the time in our codebase and it's a shame to lose our ability to test with local tibbles because of calls to sql during a dplyr verb chain.
Submitted PR here: #335
We make extensive use of dbplyr and lubridate and it would be great to have functions like
lubridate::weeks,lubridate::months, etc... translated into'1 weeks' :: INTERVALto enable easy date mathfloor_date(date, 'month')translated intoDATE_TRUNC('month', date)These two sets of functions are used all the time all the time in our codebase and it's a shame to lose our ability to test with local tibbles because of calls to
sqlduring a dplyr verb chain.Submitted PR here: #335