amoghrajesh commented on code in PR #68442:
URL: https://github.com/apache/airflow/pull/68442#discussion_r3425660410
##########
airflow-core/tests/unit/models/test_backfill.py:
##########
@@ -1259,3 +1260,59 @@ def
test_backfill_partitioned_offset_zero_behavior_unchanged(dag_maker, session)
str(pendulum.instance(x.partition_date).in_timezone("Asia/Taipei").date()) for
x in dag_runs
]
assert partition_date_labels == ["2026-02-18", "2026-02-19", "2026-02-20"]
+
+
+def test_handle_clear_run_preserves_partition_key(dag_maker, session):
+ """BackfillDagRun created via the clear/reprocess path carries
partition_key from info."""
+ from airflow.timetables.base import DataInterval
Review Comment:
nit: top level import.
--
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]