airflow.sensors.sql_sensor
¶
Module Contents¶
-
class
airflow.sensors.sql_sensor.
SqlSensor
(conn_id, sql, parameters=None, *args, **kwargs)[source]¶ Bases:
airflow.sensors.base_sensor_operator.BaseSensorOperator
Runs a sql statement until a criteria is met. It will keep trying while sql returns no row, or if the first cell in (0, ‘0’, ‘’).
- Parameters