You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/17 00:53:58 UTC

[GitHub] [airflow] mpeteuil commented on pull request #8776: [AIRFLOW-1156] BugFix: Unpausing a DAG with catchup=False creates an extra DAG run

mpeteuil commented on pull request #8776:
URL: https://github.com/apache/airflow/pull/8776#issuecomment-800712259


   The problem in [AIRFLOW-1156](https://issues.apache.org/jira/browse/AIRFLOW-1156) still seems to be an issue (at least in 1.10.x, and by the looks of the code, 2.x as well). Using a `timedelta` as the `schedule_interval` with `catchup=False` causes the `start_date` (particularly the time component) to still not be honored. This appears to be an issue with the `Dag`'s [`following_schedule` and `previous_schedule`](https://github.com/apache/airflow/blob/1.10.12/airflow/models/dag.py#L409-L463) methods from what I can tell.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org