apache / apache/airflow

Make RollupMapper calendar windows DST-aware

Open
#68,004 0 comments 0 reactions 0 assignees View on GitHub
area:core kind:bug kind:meta priority:medium
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

### Body

`RollupMapper` with a `DayWindow` always expects 24 hourly keys, so a local-timezone upstream mapper breaks on DST days: spring-forward (23h) leaves one expected key that never arrives and the run is held forever; fall-back (25h) drops the extra hour's events.

Current workaround (in the partition docs / known limitations): use UTC partition keys.

This tracks making the calendar windows DST-aware so the expected key set matches the real number of hours, instead of relying on a UTC workaround.

related #64571.

### Committer

- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.