I am trying to connect to an Oracle database with dplyr and dbplyr backend. However since the upgrade of dbplyr to version 2.0.0 it no longer works and getting the following error.
x <- tbl(con, in_schema("dm", "DM_CLT_POS_OVL_LIAB_HEDGE"))
Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch, : ORA-00942: table or view does not exist
In the previous version of dbplyr I could make it work with the redirection functions ( see below) but they have been removed with the upgrade.
#below are required to make the translation done by dbplyr to SQL produce working Oracle
SQLsql_translate_env.OraConnection <- dbplyr:::sql_translate_env.Oracle
sql_select.OraConnection <- dbplyr:::sql_select.Oracle
sql_subquery.OraConnection <- dbplyr:::sql_subquery.Oracle
Any help would be appreciated.