-
Notifications
You must be signed in to change notification settings - Fork 259
Description
Description
Hello Cosmos team,
I’ve been using Astronomer Cosmos extensively and really enjoying the experience so far.
Thank you for building such a great integration between Airflow and dbt.
Recently, we migrated our data lake file format to Iceberg, and as a result, we are now operating a multi-warehouse DW environment using both StarRocks and Snowflake.
In this setup, we would like to:
Run the same dbt project / models
Within a single DAG
Against multiple targets / profiles (e.g. StarRocks and Snowflake)
Ideally, this would allow us to execute the same logic in parallel by switching only the dbt profile or connection, without duplicating DAGs or dbt projects.
From my understanding, Cosmos currently assumes a single dbt profile per DAG execution.
I wanted to ask whether there are any plans or discussions around supporting:
Multiple dbt profiles within a single DAG
Running the same dbt project against different adapters (e.g. StarRocks & Snowflake)
Selecting the target/profile at the DAG or task level
If this is already on the roadmap or if there is a recommended pattern (such as DAG duplication or parameterized execution), I’d really appreciate any guidance.
Thanks again for the great work, and I’m looking forward to your thoughts.
Best regards,
Use case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
- Yes, I am willing to submit a PR!