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
joins fail on Oracle because of multiple quoting #1177
Comments
This does not happen with SQLite
Or PostgreSQL
So it's Oracle specific? |
Hello, I confirm the error using a connection through Pool. Perform a test using DBI and the result is as expected, multiple quotes do not appear. And in my case I have been using version 2.3.1 for multiple analyzes and I have only detected the error #1178.
However, using pool multiple quotes appear which is not supported by Oracle Data Base.
Regards, |
I created a PR that should fix the issue. As I don't have an Oracle database to test with, it would be great if you could test the PR. You can install it via |
I'm still getting this error with the current CRAN version of dbplyr but not the current development version FYI. |
Thanks for the feedback. I know there was an issue with joins in Oracle in the CRAN version, good to get confirmation it is fixed in the dev version 😄 |
This is similar to #1091
Although a fix was merged there, I still see the issue with current dbplyr 2.3.1 using an Oracle backend with pool.
This describes the problem, but is not a strictly reprocible example (I don't know how to mock a oracle database).
Gives
and fails with
likekly because of the multiple quotes inserted. I don't know why or where they come from.
The proposed fix in #1091 using
x_as
andy_as
works, but is ugly (in fact onx_as
is needed):Downgrading
dbplyr
to2.2.1
also fixes the issue (usesLHS
andRHS
as names), but is also ugly to fix versions.The tests are using SQLite, and work. So I assume it's a Oracle specific problem?
Any ideas what's going on or where / how to fix this?
I am not too deep in the dbplyr code-basis, I ssupect it's in the name creation....
session_info()
The text was updated successfully, but these errors were encountered: