-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AIP-84 Handle backfill for DAGs with when depends_on_past is True #45731
AIP-84 Handle backfill for DAGs with when depends_on_past is True #45731
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Just a few nitpicks.
cc: @dstandish |
…er/airflow into backfill-handle-depends-on-past
…er/airflow into backfill-handle-depends-on-past
Don't hesitate to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small improvement. Can merge after.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to not merge by mistake.
…ache#45731) * backfill handle depends on past * fixing backfill model tests * Implementing review comments * fix test * uncomment test commneted incorrectly * implement review comments * handle exceptions better * fixing exceptin handling and tests * remove 422 from router
…ache#45731) * backfill handle depends on past * fixing backfill model tests * Implementing review comments * fix test * uncomment test commneted incorrectly * implement review comments * handle exceptions better * fixing exceptin handling and tests * remove 422 from router
…ache#45731) * backfill handle depends on past * fixing backfill model tests * Implementing review comments * fix test * uncomment test commneted incorrectly * implement review comments * handle exceptions better * fixing exceptin handling and tests * remove 422 from router
…ache#45731) * backfill handle depends on past * fixing backfill model tests * Implementing review comments * fix test * uncomment test commneted incorrectly * implement review comments * handle exceptions better * fixing exceptin handling and tests * remove 422 from router
Currently below two scenarios results in HTTP500. This PR handles it.
When

depends_on_past
= True is set for a Task andreprocess_behavior
is "none"Before:
After:

When

depends_on_past
= True is set for a Task andrun_backwards
=TrueBefore:
After:

^ 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 newsfragments.