The above states we can run only a subset of models via
dbt run --models path/to/models
Let us take a use case where we have a file path/to/models/a.sql
such that there is a ref
function in it that references the output of path/to/models_new/b.sql
.
b.sql
is situated anywhere outside the folder path/to/models
In such a situation will b.sql
execute too when dbt run --models path/to/models
runs?
Because intuitively it should run as we expect the latest data from the mentioned dependencies (through ref).