Files
vault/Career/Database - SQL/Airflow Tasks.md
Zaine 0a52228e2e
All checks were successful
Build Quartz Notes / build (push) Successful in 51s
adding properties
2026-06-03 12:48:18 +01:00

17 lines
711 B
Markdown
Executable File

---
note type:
- note
- database
date: 2026-06-03
done: true
---
A task in the context of airflow is the basic unit of execution. They are arranged into [[Airflow Dags]] and then have upstream and downstream dependencies set between them in order to express the order in which they should be run.
There are three kinds of tasks:
1. Operators: they are predefined task templates that you can string together quickly.
2. Sensors: special subclass of operators, which are entirely about waiting for an external event to happen.
3. A Taskflow-decorated @task, which is a custom python function packaged as a task.
[See this](https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/tasks.html)