-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed as not planned
Closed as not planned
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Is this your first time submitting a feature request?
- I have read the expectations for open source contributors
- I have searched the existing issues, and I could not find an existing issue for this feature
- I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion
Describe the feature
Hi, I would like to figure out a local development flow utilising the new dbt feature - dbt clone. To mimic the behaviour of --defer, I need to run the clone command only for upstream dependencies of modified models to create views in my personal schemas in dev database (we overwrite the generate_schema_name macro for that).
To achieve it today, I have to run:
dbt clone --select +model_a +model_b --exclude model_a model_b --state path/to/artifacts
or
dbt clone --select +state:modified --exclude state:modified --state path/to/artifacts
which is pretty inconvenient. It would be much easier if we introduce a new graph operator not to include specified models, so we could run e.g.:
dbt clone --select ++model_a ++model_b --state path/to/artifacts
or
dbt clone --select ++state:modified --state path/to/artifacts
Who will this benefit?
dbt users using dbt clone (but not only)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request