Skip to content
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

There is currently no documentation/example on how to run just 1 version of a model with multiple versions #4382

Closed
1 task done
b-per opened this issue Nov 1, 2023 · 1 comment · Fixed by #4501
Closed
1 task done
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear

Comments

@b-per
Copy link
Contributor

b-per commented Nov 1, 2023

Contributions

  • I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/docs/collaborate/govern/model-versions

What part(s) of the page would you like to see updated?

I have searched across the docs and couldn't find the info I am after. It might be there somewhere, but if it is, it should be added to https://docs.getdbt.com/docs/collaborate/govern/model-versions as well.

If a model has multiple versions, I am quite sure that we can run:

  • all versions, with dbt run -s my_model
  • but also specific versions, with dbt run -s my_model.v2 for example

This syntax with .v2 doesn't seem to be anywhere in the docs.

Additional information

No response

@b-per b-per added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear labels Nov 1, 2023
@mirnawong1
Copy link
Contributor

confirming syntax in slack

mirnawong1 added a commit that referenced this issue Nov 17, 2023
This PR adds examples on how to run models with multiple versions, one
version, and latest version.


Resolves #4382
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants