Skip to content

Conversation

@vatsrahul1001
Copy link
Contributor

We do not have a dag_id filter in the below. As a result, running a backfill for one DAG also updates the dag_run table entries for other DAGs with the same run_id.

.where(DagRun.logical_date == info.logical_date)

closes: #50527


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@vatsrahul1001 vatsrahul1001 requested review from dstandish and removed request for XD-DENG and ashb May 14, 2025 05:48
@vatsrahul1001 vatsrahul1001 marked this pull request as draft May 14, 2025 06:18
@vatsrahul1001 vatsrahul1001 marked this pull request as ready for review May 14, 2025 06:50
@vatsrahul1001 vatsrahul1001 merged commit b299c43 into apache:main May 14, 2025
51 checks passed
@vatsrahul1001 vatsrahul1001 deleted the fix-backfills branch May 14, 2025 10:56
@vatsrahul1001 vatsrahul1001 self-assigned this May 14, 2025
@dstandish
Copy link
Contributor

Thanks @vatsrahul1001

@tirkarthi tirkarthi added this to the Airflow 3.0.2 milestone May 14, 2025
kaxil pushed a commit that referenced this pull request Jun 3, 2025
… a condition on dag_id (#50577)

(cherry picked from commit b299c43)
kaxil pushed a commit that referenced this pull request Jun 3, 2025
… a condition on dag_id (#50577)

(cherry picked from commit b299c43)
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating backfill for a dag is affecting other dags too

3 participants