In this segment, you will learn about trigger rules.
Let’s watch the upcoming video in which Ajay will introduce this concept. In the video, you learnt about trigger rules.
- In general, a task is triggered when all directly upstream tasks have succeeded, but Airflow allows for more complex dependency settings.
- All operators have a trigger_rule argument that decides when the task will get triggered.
- By default, trigger_rule=all_success.
- Some common trigger_rule values are as follow:
1. all_failed
2. all_done
3. one_success
4. none_failed
5. none_failed_or_skipped
In the next segment, you will understand how monitoring and alerting is done in Airflow.
Additional Reading
Trigger Rules: Official documentation on trigger rules.
Report an error