-
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
dbt test [--models|--exclude] config.materialized:view does not seem to work #2806
Comments
Thanks for the bug report @tpilewicz. You're right, this does not work the way we intended. I believe it's limited to tests and |
Quick notes from discussion this afternoon:
@drewbanin to weigh in with some thoughts as well |
Describe the bug
I tried to run
dbt test --exclude config.materialized:view
, and got the output "Nothing to do". I then tried to rundbt test --models config.materialized:view
, and all tests ran. Yetdbt test --models config.materialized:table
runs only 24 models.Steps To Reproduce
In a project that has models materialized as a view and others materialized as a table / or
'incremental'
ones, rundbt test --exclude config.materialized:view
, ordbt test --models config.materialized:view
.Expected behavior
dbt test --exclude config.materialized:view
should run all models that are not materialized as a view.dbt test --models config.materialized:view
should run only models materialized as a view.Screenshots and log output
Then:
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
OSX
The output of
python --version
:Python 3.6.8
The text was updated successfully, but these errors were encountered: