Skip to content

Support partitioned Dags in calendar view#63631

Merged
guan404ming merged 1 commit intoapache:mainfrom
guan404ming:partitioned-cal
Mar 18, 2026
Merged

Support partitioned Dags in calendar view#63631
guan404ming merged 1 commit intoapache:mainfrom
guan404ming:partitioned-cal

Conversation

@guan404ming
Copy link
Copy Markdown
Member

@guan404ming guan404ming commented Mar 15, 2026


Why

Partitioned Dags use partition_date instead of logical_date, making them invisible in the calendar.

How

  • Use COALESCE(partition_date, logical_date) for grouping and filtering historical runs
  • Extend _calculate_timetable_planned_runs with next_dagrun_info_v2 to handle both partitioned and non-partitioned timetables
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Claude Code with Opus 4.6


  • 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.

@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Mar 15, 2026
@guan404ming guan404ming marked this pull request as ready for review March 15, 2026 15:38
@guan404ming guan404ming requested a review from Lee-W March 15, 2026 15:46
@Lee-W
Copy link
Copy Markdown
Member

Lee-W commented Mar 16, 2026

Thanks! will take a look today

Copy link
Copy Markdown
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Halfway through finishing reviewing it. left a few nits. will continue on

Copy link
Copy Markdown
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nit and ci failure but overall looks good

Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
@guan404ming guan404ming merged commit 0f4c354 into apache:main Mar 18, 2026
256 of 257 checks passed
imrichardwu pushed a commit to imrichardwu/airflow that referenced this pull request Mar 18, 2026
Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
@bbovenzi bbovenzi added this to the Airflow 3.2.0 milestone Mar 18, 2026
@bbovenzi bbovenzi added the area:UI Related to UI/UX. For Frontend Developers. label Mar 18, 2026
imrichardwu pushed a commit to imrichardwu/airflow that referenced this pull request Mar 18, 2026
Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
fat-catTW pushed a commit to fat-catTW/airflow that referenced this pull request Mar 22, 2026
Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
techcodie pushed a commit to techcodie/airflow that referenced this pull request Mar 23, 2026
Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants