collinmcnulty commented on code in PR #34851:
URL: https://github.com/apache/airflow/pull/34851#discussion_r1384596802


##########
airflow/config_templates/config.yml:
##########
@@ -2320,6 +2320,24 @@ scheduler:
       type: string
       example: ~
       default: "^[A-Za-z0-9_.~:+-]+$"
+    create_cron_data_intervals:
+      description: |
+        Whether to create DAG runs that span an interval or one single point 
in time for cron schedules, when
+        a cron string is provided to `schedule` argument of a DAG. If True,
+        CronDataIntervalTimetable is used, which is the legacy Airflow 
behavior suitable
+        for DAGs with well-defined data_interval you get contiguous intervals 
from the end of the previous
+        interval up to the scheduled datetime. If False, CronTriggerTimetable 
is used,
+        which is closer to the behavior of cron itself.
+
+        Notably, for CronTriggerTimetable, the logical_date is the same as the 
time the DAG Run will try to
+        schedule, while for CronDataIntervalTimetable, the logical_date is the 
beginning of the data interval,
+        but the DAG Run will try to schedule at the end of the data interval. 
For more differences
+        between the two Timetables, see
+        
https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/timetable.html#differences-between-the-two-cron-timetables

Review Comment:
   Thank you, I see there's a :ref: I can use already.



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

Reply via email to