Warning should be surfaced if any part of the --models
specification doesn't exist
#2115
Closed
1 of 5 tasks
Labels
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Milestone
Describe the bug
A clear and concise description of what the bug is. What command did you run? What happened?
Assume
model_a
exists andmodel_b
does not exist in a given dbt project.If you run
dbt run --models model_b
you get an error:WARNING: Nothing to do...
.If you run
dbt run --models model_a model_b
you don't get any error since one of the models exists.It seems like it would make sense to surface an error like
WARNING: Model specification matching model_b not found
or something like thatSteps To Reproduce
In as much detail as possible, please provide steps to reproduce the issue. Sample data that triggers the issue, example model code, etc is all very helpful here.
See above
Expected behavior
A clear and concise description of what you expected to happen.
See above
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
See above
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
The output of
python --version
:Additional context
Add any other context about the problem here.
Definitely not an urgent problem, but figure it's a good one to mention
The text was updated successfully, but these errors were encountered: