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 2022/04/01 07:35:07 UTC

[GitHub] [airflow] wanlce commented on a change in pull request #22658: Fix incorrect data_interval_start due to scheduling time change

wanlce commented on a change in pull request #22658:
URL: https://github.com/apache/airflow/pull/22658#discussion_r840315422



##########
File path: airflow/timetables/interval.py
##########
@@ -76,21 +80,23 @@ def next_dagrun_info(
         if not restriction.catchup:
             earliest = self._skip_to_latest(earliest)
         elif earliest is not None:
-            earliest = self._align(earliest)
+            earliest = self._align_to_next(earliest)
         if last_automated_data_interval is None:
             # First run; schedule the run at the first available time matching
             # the schedule, and retrospectively create a data interval for it.
             if earliest is None:
                 return None
             start = earliest
-        else:  # There's a previous run.
+        else:  # There's a previous run

Review comment:
       sorry !!!   Thank you for your review, I made changes. Looking forward to your new comment.




-- 
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: commits-unsubscribe@airflow.apache.org

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