[Bug] Cosmos does not honour the custom snowflake warehouse from the model yaml file #1481
Labels
area:config
Related to configuration, like YAML files, environment variables, or executer configuration
bug
Something isn't working
execution:docker
Related to Docker execution environment
profile:snowflake
Related to Snowflake ProfileConfig
triage-needed
Items need to be reviewed / assigned to milestone
Astronomer Cosmos Version
1.7.0
dbt-core version
1.8.6
Versions of dbt adapters
No response
LoadMode
DBT_LS_MANIFEST
ExecutionMode
VIRTUALENV
InvocationMode
SUBPROCESS
airflow version
1.9.1
Operating System
amazon linux
If a you think it's an UI issue, what browsers are you seeing the problem on?
No response
Deployment
Other Docker-based deployment
Deployment details
No response
What happened?
We are running the dbt models on airflow using cosmos package and our target data platform is Snowflake.
Snowflake credentials (account name, username, password, warehouse etc. ) are configured in the airflow connection and 95% of the time cosmos is able to fetch this connection from aifrlow connection and covert it to the dbt profile.
The warehouse is XS in the airflow connection. However for some bigger models we have a custom warehouse Medium/large etc. But Cosmos sometime does not use this cusom warehouse for the model and just use the default XS warehouse mentioned from the airflow connection.
This issue only happens randomly. So its not something that easily reproduceable.
Relevant log output
How to reproduce
This issue happens intermittently
Anything else :)?
This occurs intermittently
Are you willing to submit PR?
Contact Details
No response
The text was updated successfully, but these errors were encountered: