-
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
0.17.0: Cannot execute an empty query #2439
Labels
bug
Something isn't working
Milestone
Comments
4 tasks
beckjake
added a commit
that referenced
this issue
May 13, 2020
Fix empty SQL in persist docs (#2439)
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
dbt is errorring with
cannot execute and empty query
for a model that does not have any columns described in aschema.yml
file, but does havepersist_docs: {columns: true}
configured.Steps To Reproduce
dbt run
and observe the errorExpected behavior
I would expect dbt to not run a query, rather than running an empty query which fails!
System information
I replicated this on Postgres, but I imagine it could impact other databases too.
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: