Lee-W commented on code in PR #63419:
URL: https://github.com/apache/airflow/pull/63419#discussion_r3007818430
##########
airflow-core/newsfragments/aip-76.significant.rst:
##########
@@ -0,0 +1,36 @@
+AIP-76: Asset Partitioning
+
+Airflow 3.2 introduces asset partitioning (time-based), allowing Dags to
produce and consume
+partitioned asset events identified by a ``partition_key`` (e.g.
``2026-03-10T09:00:00`` for
+an hourly partition).
+
+**New timetables** (``airflow.timetables.partitioned``):
+
+- ``CronPartitionTimetable`` — schedules a producer Dag on a cron expression
and emits a
+ partitioned asset event on each run.
+- ``PartitionedAssetTimetable`` — schedules a consumer Dag when the expected
partitioned
+ asset events have arrived.
+
+**Partition mappers** transform upstream partition keys before passing them to
downstream Dags:
+
+- ``IdentityMapper`` — passes the key through unchanged (default).
+- ``ToHourlyMapper``, ``ToDailyMapper``, ``ToWeeklyMapper``,
``ToMonthlyMapper``, ``ToQuarterlyMapper``,
Review Comment:
```suggestion
- ``StartOfHourMapper``, ``StartOfDayMapper``, ``StartOfWeekMapper``,
``StartOfMonthMapper``, ``StartOfQuarterMapper``,
```
##########
airflow-core/newsfragments/aip-76.significant.rst:
##########
@@ -0,0 +1,36 @@
+AIP-76: Asset Partitioning
+
+Airflow 3.2 introduces asset partitioning (time-based), allowing Dags to
produce and consume
+partitioned asset events identified by a ``partition_key`` (e.g.
``2026-03-10T09:00:00`` for
+an hourly partition).
+
+**New timetables** (``airflow.timetables.partitioned``):
+
+- ``CronPartitionTimetable`` — schedules a producer Dag on a cron expression
and emits a
+ partitioned asset event on each run.
+- ``PartitionedAssetTimetable`` — schedules a consumer Dag when the expected
partitioned
+ asset events have arrived.
+
+**Partition mappers** transform upstream partition keys before passing them to
downstream Dags:
+
+- ``IdentityMapper`` — passes the key through unchanged (default).
+- ``ToHourlyMapper``, ``ToDailyMapper``, ``ToWeeklyMapper``,
``ToMonthlyMapper``, ``ToQuarterlyMapper``,
+ ``ToYearlyMapper`` — normalize a datetime partition key to a coarser time
granularity
Review Comment:
```suggestion
``StartOfYearMapper`` — normalize a datetime partition key to a coarser
time granularity
```
##########
airflow-core/newsfragments/aip-76.significant.rst:
##########
@@ -0,0 +1,36 @@
+AIP-76: Asset Partitioning
+
+Airflow 3.2 introduces asset partitioning (time-based), allowing Dags to
produce and consume
+partitioned asset events identified by a ``partition_key`` (e.g.
``2026-03-10T09:00:00`` for
+an hourly partition).
+
+**New timetables** (``airflow.timetables.partitioned``):
+
+- ``CronPartitionTimetable`` — schedules a producer Dag on a cron expression
and emits a
+ partitioned asset event on each run.
+- ``PartitionedAssetTimetable`` — schedules a consumer Dag when the expected
partitioned
+ asset events have arrived.
+
+**Partition mappers** transform upstream partition keys before passing them to
downstream Dags:
+
+- ``IdentityMapper`` — passes the key through unchanged (default).
+- ``ToHourlyMapper``, ``ToDailyMapper``, ``ToWeeklyMapper``,
``ToMonthlyMapper``, ``ToQuarterlyMapper``,
+ ``ToYearlyMapper`` — normalize a datetime partition key to a coarser time
granularity
+ (e.g. ``ToDailyMapper`` maps ``2026-03-10T09:30:00`` → ``2026-03-10``).
Review Comment:
```suggestion
(e.g. ``StartOfDayMapper`` maps ``2026-03-10T09:30:00`` → ``2026-03-10``).
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]