The GitHub Actions job "Tests AMD" on airflow.git/issue-56554 has succeeded.
Run started by GitHub user cjonesy (triggered by cjonesy).

Head commit for run:
6aae916f785b03395cc61b8d039793e741586dce / Charlie Jones 
<[email protected]>
Optimize grid structure query with DISTINCT for dag_version_id lookup

The grid structure endpoint was scanning hundreds or thousands of
TaskInstance rows when only a few unique dag_version_id values were
needed. With mapped tasks, this caused 30+ second load times.

Adding .distinct() reduces the subquery results from potentially
1000s of rows to just 1-5 unique dag_version_ids, dramatically
improving performance for DAGs with mapped tasks.

Report URL: https://github.com/apache/airflow/actions/runs/18436530291

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to