Skip to content

Conversation

@uranusjr
Copy link
Member

This completes the matrix of trigger vs data interval, and cron vs delta expression timetables. The goal is to replace 'schedule' expressions where currently the data interval timetables are used to use trigger timetables instead, e.g. 'schedule=timedelta(days=1)'.

Trigger timetables do not have data intervals (by default), and also have a more intuitive logical date representation. This is a lot more intuitive not only for Airflow newcomers, but also existing users that do not care about data intervals, but use DAGs as a workflow that simply runs periodically.

If this sounds like a good idea, I will create two subsequent PRs to switch the configs (so trigger timetables are used by default), and to backport the timetable to 2.11 for migration.

@uranusjr uranusjr requested a review from potiuk as a code owner February 18, 2025 03:22
@uranusjr uranusjr force-pushed the switch-default-literal-interpretation branch 6 times, most recently from ac1afd5 to 91b7335 Compare February 20, 2025 03:08
This completes the matrix of trigger vs data interval, and cron vs delta
expression timetables. The goal is to replace 'schedule' expressions
where currently the data interval timetables are used to use trigger
timetables instead, e.g. 'schedule=timedelta(days=1)'.

Trigger timetables do not have data intervals (by default), and also
have a more intuitive logical date representation. This is a lot more
intuitive not only for Airflow newcomers, but also existing users that
do not care about data intervals, but use DAGs as a workflow that simply
runs periodically.

Don't do timetable equality

Fix doc refs
@uranusjr uranusjr force-pushed the switch-default-literal-interpretation branch from 91b7335 to a1c6b20 Compare February 20, 2025 04:29
@Lee-W Lee-W self-requested a review February 24, 2025 15:32
@uranusjr uranusjr merged commit 60b2220 into apache:main Feb 25, 2025
63 checks passed
@uranusjr uranusjr deleted the switch-default-literal-interpretation branch February 25, 2025 17:03
jedcunningham pushed a commit to astronomer/airflow that referenced this pull request Feb 25, 2025
This completes the matrix of trigger vs data interval, and cron vs delta
expression timetables. The goal is to replace 'schedule' expressions
where currently the data interval timetables are used to use trigger
timetables instead, e.g. 'schedule=timedelta(days=1)'.

Trigger timetables do not have data intervals (by default), and also
have a more intuitive logical date representation. This is a lot more
intuitive not only for Airflow newcomers, but also existing users that
do not care about data intervals, but use DAGs as a workflow that simply
runs periodically.

Don't do timetable equality

Fix doc refs
@phanikumv phanikumv added this to the Airflow 3.0.0 milestone Feb 26, 2025
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 28, 2025
This completes the matrix of trigger vs data interval, and cron vs delta
expression timetables. The goal is to replace 'schedule' expressions
where currently the data interval timetables are used to use trigger
timetables instead, e.g. 'schedule=timedelta(days=1)'.

Trigger timetables do not have data intervals (by default), and also
have a more intuitive logical date representation. This is a lot more
intuitive not only for Airflow newcomers, but also existing users that
do not care about data intervals, but use DAGs as a workflow that simply
runs periodically.

Don't do timetable equality

Fix doc refs
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
This completes the matrix of trigger vs data interval, and cron vs delta
expression timetables. The goal is to replace 'schedule' expressions
where currently the data interval timetables are used to use trigger
timetables instead, e.g. 'schedule=timedelta(days=1)'.

Trigger timetables do not have data intervals (by default), and also
have a more intuitive logical date representation. This is a lot more
intuitive not only for Airflow newcomers, but also existing users that
do not care about data intervals, but use DAGs as a workflow that simply
runs periodically.

Don't do timetable equality

Fix doc refs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants