Is it possible to run a single dbt model as a task? #912
Labels
area:execution
Related to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etc
area:parsing
Related to parsing DAG/DBT improvement, issues, or fixes
area:profile
Related to ProfileConfig, like Athena, BigQuery, Clickhouse, Spark, Trino, etc
dbt:run
Primarily related to dbt run command or functionality
Milestone
I am opening this issue because I couldn't run a single dbt model as task in Airflow with Cosmos with one profile config. I wouldn't like to run a DbtDag or a DbtTaskGroup with all my models in my dbt folder. I would like to run just one model, specifying its path, using only on profile.yml. Is that possible?
I ran:
But I get a
cosmos.exceptions.CosmosValueError: Could not find dbt_project.yml at {path}
. I should either copy thedbt_project.yml
from root or set theproject_config
asdbt_root_path / "my_project/
path, but it finds all models.Is there a way to run a single model as a task or I have to run all models in the project invariably?
The text was updated successfully, but these errors were encountered: