-
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-2319] Selection for versioned models #7199
Comments
How about: $ dbt run --select version:latest It should also be possible to select:
It's conceivable that folks will want to change the default behavior in development—include latest versions, prerelease versions, and models that aren't versioned—i.e. exclude "old" model versions—which they could accomplish by defining a default selector. If we're able to come up with a syntax for these use cases sooner, we can pull it into the scope of this issue. Otherwise, it feels like a UX improvement that can come later.
Given that each model has its own versioning scheme, and we're not prioritizing ergonomics/functionality for "bump the version for entire subset of models at once" — I don't think it makes sense to support a syntax for, "Select every model whose For future consideration (also out of scope for this issue):
|
dbt run --select versioned_model
should run all versions of the model by defaultdbt run --select versioned_model.v2
should run just the specific modelThe text was updated successfully, but these errors were encountered: