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

Ability to run only specified model with dbt run #811

Closed
vaughnkoch opened this issue Jun 27, 2018 · 2 comments
Closed

Ability to run only specified model with dbt run #811

vaughnkoch opened this issue Jun 27, 2018 · 2 comments

Comments

@vaughnkoch
Copy link

Sometimes I want to test a particular model without triggering other slow models, and I don't want to fiddle with the config file to enable:false them.

It would be great to be able to run a specific model like this:
dbt run myspecialmodel

Side note: I've noticed that dbt run seems to randomize the order in which it processes tables. It would be nice to have that deterministic.

@drewbanin
Copy link
Contributor

hey @vaughnkoch - check out the --models argument to dbt run here. Note that this argument also applies to dbt test.

I made another issues here #813 for the second part of your question. There's sort of a bigger change we want to make to dbt's run ordering, and I think determinism will definitely be a part of it.

Going to close this issue, but let me know if you have any questions :)

@vaughnkoch
Copy link
Author

Thanks, must have missed the --models arg :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants