-
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
dbAppendTable()
no longer works with Id
#380
Comments
Thanks, makes sense. We also need a test in DBItest. |
Do you prefer simply removing the check or allowing it to be |
Should we check after calling |
Looks like |
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. |
See #253
In previous releases,
dbAppendTable(con, Id(schema = "foo", table = "bar"), data)
works as documented at https://github.com/r-dbi/DBI/blob/main/R/Id.R#L16 but has stopped working since v1.1.2.The check at
DBI/R/dbAppendTable_DBIConnection.R
Line 7 in 273d195
ignores that
name
might beId
andsqlAppendTableTemplate
would calldbQuoteIdentifier
with thename
anyway.DBI/R/sqlAppendTableTemplate.R
Line 26 in 273d195
Does it make sense if we remove the check of
name
insqlAppendTableTemplate
or allow it to beId
?The text was updated successfully, but these errors were encountered: