-
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
[Feature] dbt snapshot --defer #4110
Comments
@iljau Thanks for opening! The steps here are quite straightforward. I'm going to mark this a
Is this a change you'd be interested in contributing? one step furtherAt this point, there's no good reason not to support For that support:
alternativeThe
So, that's something you can use in the meantime. |
I switched to using |
Is there an existing feature request for this?
Describe the Feature
Implement "dbt snapshot --defer", which would behave similar to "dbt run --defer".
Describe alternatives you've considered
No response
Who will this benefit?
When trying to set up "slim ci", one step in my case would be to run snapshots based on other dbt models.
dbt snapshot --select 'dbt.*,state:modified' --state manifests/staging
When running this command, generated references point to current schema, which doesn't have these tables, as they weren't generated during preceding run command:
dbt run --models state:modified --defer --state manifests/airflow/staging
Are you interested in contributing this feature?
No response
Anything else?
https://docs.getdbt.com/reference/node-selection/defer
https://docs.getdbt.com/docs/guides/best-practices#run-only-modified-models-to-test-changes-slim-ci
dbt version: 0.20.1
The text was updated successfully, but these errors were encountered: