old dbplyr interface
copernican opened this issue · comments
Sean Wilson commented
It appears that RPresto may be using an older dbplyr interface. Pseudocode to reproduce the warning:
library(dplyr)
library(RPresto)
conn <- dbConnect(
Presto(),
# other arguments to create connection
)
my_tbl <- tbl(conn, "my_tbl")
results in
Warning message:
<PrestoConnection> uses an old dbplyr interface
ℹ Please install a newer version of the package or contact the maintainer
This warning is displayed once every 8 hours.
I think this may be related to the dbplyr 2.0.0 API. For example, it appears that dplyr::db_query_fields()
is currently in use, but will be replaced by a dbplyr generic. I'm using RPresto 1.3.7 and dbplyr 2.2.0.
Jarod G.R. Meng commented
This is caused by dbplyr 1.0.0 API entering its sunsetting phase. We need to migrate the dbplyr API usage to dbplyr 2.0.0 (see https://dbplyr.tidyverse.org/articles/backend-2.html).
Thomas J. Leeper commented
Resolved by linked PR