-
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
dbt compile tries to create a schema as of 0.17 #2525
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running
dbt compile
on version 0.17, dbt executes acreate schema if not exists
statement if custom schemas are defined. This is a unexpected change as previous versions of dbt did not try to create a schema duringdbt compile
.Steps To Reproduce
dbt_project.yml
using version 1 syntax (not sure if it makes a difference).dbt compile
and check Snowflake query history or debug output to see that it tries to create a schema.Expected behavior
dbt compile
should not try to modify the database when running.Screenshots and log output
Snippet from the
dbt --debug
output:System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Ubuntu 16.04
The output of
python --version
:Python 3.8.2
Additional context
Original dbt Slack thread
The text was updated successfully, but these errors were encountered: