SQLValueCheckOperator

Apache Airflow Certified

Performs a simple value check using sql code.

View on GitHub

Last Updated: May. 25, 2021

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.

Parameters

sqlRequiredstrthe sql to be executed. (templated)

Documentation

Performs a simple value check using sql code.

Note that this is an abstract class and get_db_hook needs to be defined. Whereas a get_db_hook is hook that gets a single record from an external source.

Was this page helpful?