DummyOperator

Apache Airflow Certified

Operator that does literally nothing. It can be used to group tasks in a DAG.

View on GitHub

Last Updated: Apr. 13, 2022

Access Instructions

Install the Apache Airflow provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Documentation

Operator that does literally nothing. It can be used to group tasks in a DAG.

The task is evaluated by the scheduler but never processed by the executor.

Example DAGs

Execute Parameterized Queries in Greenplum

A DAG that runs multiple, parameterized dynamic queries against a Greenplum database based on a list of provided states using the PostgresOperator, and then sends an email upon successful completion u…

Apache Airflow Postgres
Databases
Ray + Pandas

An example DAG manipulating a Pandas dataframe using the Ray backend.

Ray
Data ProcessingData Science
Model Training with XGBoost & Modin on Ray

A DAG using a basic Jupyter notebook model that pulls the HIGGS dataset, splits training and testing data, and creates/validates a model using the XGBoost on Ray.

Ray
Data ProcessingData Science
Model Tuning with Ray & XGBoost

Using the Ray backend and XGBoost to tune a simpled Jupyter notebook model that pulls the HIGGS dataset.

Ray
Data ProcessingData Science
Ingest COVID-19 Data into Azure Blob Storage

Example DAG from the Astronomer Azure Operators tutorial to ingest sample COVID-19 tracking data into Azure Blob Storage and setting up email alerts after workflow completion.

Microsoft Azure
StorageBig Data & Analytics
bash_operator

Example DAG demonstrating the usage of the BashOperator.

Apache Airflow
Airflow Fundamentals
branch_operator

Example DAG demonstrating the usage of the BranchPythonOperator.

Apache Airflow
Airflow Fundamentals
branch_python_dop_operator_3

Example DAG demonstrating the usage of BranchPythonOperator with depends_on_past=True, where tasks may be run or skipped on alternating runs.

Apache Airflow
Airflow Fundamentals
skip_dag

Example DAG demonstrating the DummyOperator and a custom DummySkipOperator which skips by default.

Apache Airflow
Airflow Fundamentals
short_circuit_operator

Example DAG demonstrating the usage of the ShortCircuitOperator.

Apache Airflow
Airflow Fundamentals
subdag_operator

Example DAG demonstrating the usage of the SubDagOperator.

Apache Airflow
Airflow Fundamentals
task_group

Example DAG demonstrating the usage of the TaskGroup.

Apache Airflow
Airflow Fundamentals
nested_branch_dag

Example DAG demonstrating a workflow with nested branching. The join tasks are created with none_failed_or_skipped trigger rule such that they are skipped whenever their corresponding BranchPythonOper…

Apache Airflow
Airflow Fundamentals
latest_only_with_trigger

Example LatestOnlyOperator and TriggerRule interactions

Apache Airflow
Airflow Fundamentals
latest_only

Example of the LatestOnlyOperator

Apache Airflow
Airflow Fundamentals
external_task_marker_dag

Example DAG demonstrating setting up inter-DAG dependencies using ExternalTaskSensor and ExternalTaskMarker

Apache Airflow
Airflow Fundamentals
xgboost_pandas_tune_breast_cancer

build dataframe from breast cancer dataset

Ray
Data ProcessingData Science
ray_pandas_dag

#### build random dataframe task

Ray
Data ProcessingData Science
task_flow_xgboost_modin

Build a dataframe task.

Ray
Data ProcessingData Science
Dynamic dbt Data Pipeline

An example of a dbt pipeline which generates tasks dynamically from a ``manifest.json`` file.

Apache Airflow
Data ProcessingETL/ELT
branch_day_of_week_operator

Example DAG demonstrating the usage of BranchDayOfWeekOperator.

Apache Airflow
Airflow Fundamentals
branch_datetime_operator

Example DAG demonstrating the usage of DateTimeBranchOperator with datetime as well as time objects as targets.

Apache Airflow
Airflow Fundamentals
branch_labels

Example DAG demonstrating the usage of labels with different branches.

Apache Airflow
Airflow Fundamentals
sample_xlsx_to_parquet

### Sample DAG

XLSX
Data Quality Checks in a Database Using Airflow

An example pipeline demonstrating how to perform data quality checks in a database using SQL Check Operators.

Apache Airflow
Data Management & GovernanceDatabases
Perform Data Quality Checks in Redshift with Airflow

An example pipeline demonstrating how to perform data quality checks in Redshift using SQL Check Operators.

Apache Airflow AmazonPostgres
Data Management & GovernanceETL/ELTDatabases
v6d_dag

#### build random dataframe task

Vineyard
Orchestrating Multiple Azure Data Factory Pipelines in Airflow

This DAG demonstrates orchestrating multiple Azure Data Factory (ADF) pipelines using Airflow to perform classic ELT operations.

Microsoft AzureApache Airflow
StorageDatabasesOrchestrationETL/ELTAirflow Fundamentals
Using Census for Reverse ETL in Airflow

This reverse-ETL pipeline syncs customer data from a Snowflake data warehouse to a marketing platform using Census.

CensusApache Airflow Snowflake
DatabasesETL/ELT
Using Hightouch for Reverse ETL in Airflow

An ELT pipeline which extracts Salesforce customer data to Snowflake for transformation and enrichment, and synced back to Salesforce via Hightouch.

HightouchAmazonSnowflakeApache Airflow
DatabasesETL/ELTStorageBig Data & Analytics
Modern ELT from Salesforce to Snowflake

A modern ELT pipeline from extracting Salesforce data to loading and transforming in Snowflake.

AmazonSnowflakeApache Airflow
DatabasesETL/ELTStorageBig Data & Analytics
Extract Zendesk to Snowflake

Upload the following Zendesk objects to S3: Tickets, Organizations, Users. From S3, loads into Snowflake. Loads can be daily or full-extracts.

SnowflakeAmazonApache Airflow HTTP
ETL/ELTStorageDatabases
Pipeline Alerts and Notifications using Microsoft Teams

Example DAG demonstrating how to implement Microsoft Teams alerting and notifications.

Apache Airflow HTTP
Alerts/Notifications
Pipeline Alerts and Notifications for Multiple Microsoft Teams Channels

Example DAG demonstrating how to implement alerting and notifications for multiple Microsoft Teams channels.

Apache Airflow HTTP
Alerts/Notifications
Pipeline Alerts and Notifications using Slack

Example DAG demonstrating how to implement alerting and notifications in Slack.

Apache Airflow Slack
Alerts/Notifications
Pipeline Alerts and Notifications for Multiple Slack Channels

Example DAG demonstrating how to implement alerting and notifications for multiple Slack channels

Apache Airflow SlackHTTP
Alerts/Notifications
Google Analytics to Snowflake

The google_analytics_to_snowflake DAG transfers data from Google Analytics (GA) to Google Cloud Storage (GCS), and then loads the data to Snowflake staging tables. From staging, data is loaded to Snow…

Apache Airflow Snowflake
ETL/ELTData ProcessingStorageDatabasesData Management & Governance
Write-Audit-Publish Great Expectations Example With Snowflake

Example DAG showcasing a write-audit-publish data quality pattern with Snowflake and Great Expectations.

Apache Airflow SnowflakeAmazonGreat Expectations
DatabasesData Management & GovernanceData QualityETL/ELT
Data Quality Checks in BigQuery

A simple DAG demonstrating an extract-and-load pipeline with data quality checks in BigQuery.

Apache Airflow Google
Data Management & GovernanceETL/ELTDatabases
Great Expectations BigQuery Example

Example DAG showcasing loading and data quality checking with BigQuery and Great Expectations.

Apache Airflow Great ExpectationsGoogle
Data QualityETL/ELT
Great Expectations Redshift Example

Example DAG showcasing loading and data quality checking with Redshift and Great Expectations.

Apache Airflow Great ExpectationsAmazonPostgres
Data QualityETL/ELT
Great Expectations Snowflake Example

Example DAG showcasing loading and data quality checking with Snowflake and Great Expectations.

Apache Airflow Great ExpectationsSnowflakeAmazon
Data QualityETL/ELT
Validate Files Uploaded to S3

This is a very simple DAG showing a minimal EL data pipeline with a data integrity check. A single file is uploaded to S3, then its ETag is verified against the MD5 hash of the local file.

Apache Airflow Amazon
Data Management & GovernanceETL/ELT
Perform Data Integrity Checks from S3 to Redshift

This is the second in a series of DAGs showing an EL pipeline with data integrity checking of data in S3 as well as Redshift.

Apache Airflow AmazonPostgres
Data Management & GovernanceETL/ELTDatabases
Advanced Data Integrity Checks from S3 to Redshift

This is the third in a series of DAGs showing an EL pipeline with data integrity and data quality checking for data in S3 and Redshift using ETag verification and row-based data quality checks where t…

Apache Airflow AmazonPostgres
Data Management & GovernanceETL/ELTDatabases
Taxi Data Quality Example With Snowflake

An example DAG showing the use of SnowflakeCheckOperators.

Apache Airflow SnowflakeAmazon
ETL/ELTData QualityDatabases
Add a Simple Operational Check for dbt Cloud Jobs

This example showcases an example of adding an operational check to ensure the dbt Cloud job is not running prior to triggering.

Apache Airflow dbt Cloud
ETL/ELT
Salesforce ELT with Fivetran, dbt Cloud, and Census

This example showcases a modern ELT pipeline extracting with Fivetran, performing data transformations via a dbt Cloud job, and reverse-ETL using Census.

Apache Airflow dbt CloudCensusFivetran
ETL/ELT

Was this page helpful?