-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
The implementation of default__list_schema
results in double-quoting if databse quoting is true
#2267
Comments
…on-schema do not double-quote the database name (#2267)
fixed in #2281 |
I'm using If I turn off database quoting it seems to work fine. Debug output (
Debug output (
|
Thanks for letting us know @joemirizio! @beckjake can you check this one out? |
Yeah, this is a real issue. I will have to consider how we're going to approach this, but it's going to require a change to how we call |
Ok - in that case, do you mind making a new issue for the change and linking it here? I'd like to leave this one closed insofar as it resulted in a code change that's going out for 0.16.1, even if it's imperfect. @joemirizio the path of least resistance here is indeed going to be to overrride the |
Describe the bug
When the quoting config
database: true
is set, and a plugin doesn't overridelist_schema
, thelist_schemas
adapter method ends up double-quoting the database name (once in-method, once in the macro).Steps To Reproduce
""memory"".INFORMATION_SCHEMA
, in the case of local testing on presto)Expected behavior
I expect this to work! We should remove the quoting call from
default__information_schema_name
, at least!System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
N/A
The output of
python --version
:N/A
Additional context
The workaround is to implement
presto__information_schema_name
with a macro that doesn't quote.The text was updated successfully, but these errors were encountered: