-
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
[CT-3309] --empty
flag to to provide a cost-effective way to run a selection of empty models for dbt build and run
#8980
Comments
what if instead of a |
@colin-rogers-dbt we've done a lot of thinking about that! @MichelleArk actually attempted this not to long ago: but ran into enough complexities, that we decided it would be best to start with an would welcome your thoughts on the |
Opened a new issue in dbt-labs/docs.getdbt.com: dbt-labs/docs.getdbt.com#6131 |
--empty
flag to to provide a cost-effective way to run a selection of empty models for dbt build and run
Housekeeping
Short description
introduce a new
--empty
flag, similar to this prototype for —sample todbt run
anddbt build
limit 0 where false
added to it → no data scan to build an empty version of the model in the WH!--empty
works with--deferral
for the dry-est of runs:- modified models are still built in dry-run mode (their refs use limit 0)
- unmodified models are skipped?
-similar to whats been proposed here: Schema-only dry-run feature - similar to a universal override of `materialize: view` or `LIMIT 0` #6989
- how does this work for seeds?
Acceptance criteria
see description
Impact to Other Teams
Will backports be required?
none
Context
No response
The text was updated successfully, but these errors were encountered: