Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dbt - The selection criterion [model name] does not match any node

Tags:

dbt

When running command dbt run -s [model_name] I get the error: The selection criterion [model name] does not match any node.

Any suggestions why this problem occurs?

  • The model name was copied 1-on-1 and is exactly the same as in the dbt directory
  • The command works for other models
like image 899
Hedge92 Avatar asked Sep 08 '25 06:09

Hedge92


1 Answers

It's important to note that the model_name passed in the command dbt run -s [model_name] is case sensitive. Contrary to the above answer, passing .sql in the model name is not required. Just ensure your model name passed in the command matches your actual model name, including case.

like image 103
Abhishek Poojary Avatar answered Sep 11 '25 01:09

Abhishek Poojary