-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbWriteTable in oracle not working with new version of DBI and ODBC #443
Comments
Please file this on the odbc repo. It would be most useful if you could include a reprex generated by the reprex package, edited by hand to remove any secrets. |
Close this bug in favor of r-dbi/odbc#710 |
I could be off here, but at least part of the issue, one related to updated behavior of With 1.1.3 ( named arguments ):
With 1.2.0 ( unnamed arguments ):
|
Yeah, odbc seems to rely on named components of |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
Hello @krlmlr and @hadley,
dbWriteTable in Oracle does not work with the new version of DBI and ODBC, seeing the errors that occur I believe that the cause of the problem is DBI and ODBC.
We currently use version 2023-05 of the Oracle professional drivers provided by Posit with the Posit Connect license.
Using DBI version 1.1.3 and ODBC 1.3.4 I can execute the following line of code.
If you update the DBI version to 1.2.0, the following error appears:
Error in name@name[["table"]] : subscript out of bounds
If you update the ODBC version to 1.4.1, the following error appears:
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘dbExistsTable’ for signature ‘"Oracle", "NULL"’
If you update the DBI version to 1.2.0 and ODBC version to 1.4.1, the following error appears:
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘dbExistsTable’ for signature ‘"Oracle", "NULL"’
It should be noted that I do not use
Id(schema="SCHEMA",table ="TABLE")
instead ofSQL("SCHEMA.TABLE")
because whenever I have tried to use Id with Oracle the following error appears #439Error: nanodbc/nanodbc.cpp:1509: 00000: [RStudio][OracleOCI] (3000) Oracle Caller Interface: ORA-00942: la tabla o vista no existe
I would like to know how we can support them in future tests to prevent these unexpected errors from arising. For example, in the case of ODBC, version 1.3.5 and 1.4.0 had problems with Oracle, and now we believe that version 1.4.1 of ODBC and version 1.2.0 DBI.
Regards,
The text was updated successfully, but these errors were encountered: