BigData / Apache Airflow Interview Questions
What are Operators in Apache Airflow?
Operators are the building blocks of a DAG. Each operator represents a single, idempotent unit of work — a task. Airflow provides a wide variety of built-in operators:
- PythonOperator — executes a Python callable.
- BashOperator — runs a Bash command.
- EmailOperator — sends an email notification.
- HttpOperator — makes an HTTP request.
- SqlOperator / PostgresOperator — executes SQL against a database.
Operators are instantiated as Task objects inside a DAG context. They define what to do; the Airflow scheduler decides when to do it.
More Related questions...