airflow.contrib.sensors.qubole_sensor
¶
Module Contents¶
-
class
airflow.contrib.sensors.qubole_sensor.
QuboleSensor
(data, qubole_conn_id='qubole_default', *args, **kwargs)[source]¶ Bases:
airflow.sensors.base_sensor_operator.BaseSensorOperator
Base class for all Qubole Sensors
-
class
airflow.contrib.sensors.qubole_sensor.
QuboleFileSensor
(*args, **kwargs)[source]¶ Bases:
airflow.contrib.sensors.qubole_sensor.QuboleSensor
Wait for a file or folder to be present in cloud storage and check for its presence via QDS APIs
- Parameters
Note
Both
data
andqubole_conn_id
fields support templating. You can also use.txt
files for template-driven use cases.
-
class
airflow.contrib.sensors.qubole_sensor.
QubolePartitionSensor
(*args, **kwargs)[source]¶ Bases:
airflow.contrib.sensors.qubole_sensor.QuboleSensor
Wait for a Hive partition to show up in QHS (Qubole Hive Service) and check for its presence via QDS APIs
- Parameters
Note
Both
data
andqubole_conn_id
fields support templating. You can also use.txt
files for template-driven use cases.