Skip to content

feat(cli): support partition-date range for backfill create#67537

Draft
Lee-W wants to merge 1 commit into
apache:mainfrom
astronomer:dags-backfill-partition-range
Draft

feat(cli): support partition-date range for backfill create#67537
Lee-W wants to merge 1 commit into
apache:mainfrom
astronomer:dags-backfill-partition-range

Conversation

@Lee-W
Copy link
Copy Markdown
Member

@Lee-W Lee-W commented May 26, 2026

Add --partition-date-start and --partition-date-end to airflow backfill create. Bounds are inclusive calendar dates, applied as a post-filter on timetable-generated DagRunInfo for partitioned Dags. Non-partitioned Dags reject the flags; start-after-end is rejected pre-enumeration.

No model columns, scheduler changes, or migrations — ordering control and independent concurrency caps from issue #65922 are deferred to follow-ups.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Add --partition-date-start and --partition-date-end to airflow backfill
create. Bounds are inclusive calendar dates, applied as a post-filter on
timetable-generated DagRunInfo for partitioned Dags. Non-partitioned Dags
reject the flags; start-after-end is rejected pre-enumeration.

No model columns, scheduler changes, or migrations — ordering control and
independent concurrency caps from issue apache#65922 are deferred to follow-ups.
@Lee-W Lee-W force-pushed the dags-backfill-partition-range branch from ab4aec8 to 7f072b0 Compare May 27, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant