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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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.

You Might Also Like