[Feature] Resolve (some) templated fields during DAG Parsing #1289
Labels
area:parsing
Related to parsing DAG/DBT improvement, issues, or fixes
area:rendering
Related to rendering, like Jinja, Airflow tasks, etc
area:selector
Related to selector, like DAG selector, DBT selector, etc
enhancement
New feature or request
triage-needed
Items need to be reviewed / assigned to milestone
Milestone
Description
Allow users to configure
DbtDag
/DbtTaskGroup
selectors via the Airflow UI (https://astronomer.github.io/astronomer-cosmos/configuration/selecting-excluding.html#selecting-excluding) and render the DAG based on this.If we find a good solution for this, we could potentially extend it to other templated fields.
Use case/motivation
This request has popped up a few times, including by Emanuele in the #airflow-dbt channel on 29 October 2024:
However, I believe we didn't log this request - yet.
Possible solution
We could try to do something similar to the following, but this will likely mean the DAG processor to make additional calls to the database. Would love thoughts and other ideas.
Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: