Dbt - the Selection Criterion [Model Name] Does Not Match Any Node

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
3

1 Answer

This was solved (in my case) by adding .sql to the filename. Dbt only finds model names with .sql. For instance: ODL_base__model is not found, whereas ODL_base__model.sql is found

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest