airflow.providers.qubole.sensors.qubole¶
Module Contents¶
Classes¶
Base class for all Qubole Sensors |
|
Wait for a file or folder to be present in cloud storage |
|
Wait for a Hive partition to show up in QHS (Qubole Hive Service) |
- class airflow.providers.qubole.sensors.qubole.QuboleSensor(*, data, qubole_conn_id='qubole_default', **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperatorBase class for all Qubole Sensors
- class airflow.providers.qubole.sensors.qubole.QuboleFileSensor(**kwargs)[source]¶
Bases:
QuboleSensorWait for a file or folder to be present in cloud storage and check for its presence via QDS APIs
See also
For more information on how to use this sensor, take a look at the guide: File sensor
- Parameters
qubole_conn_id – Connection id which consists of qds auth_token
data – a JSON object containing payload, whose presence needs to be checked Check this example for sample payload structure.
Note
Both
dataandqubole_conn_idfields support templating. You can also use.txtfiles for template-driven use cases.
- class airflow.providers.qubole.sensors.qubole.QubolePartitionSensor(**kwargs)[source]¶
Bases:
QuboleSensorWait for a Hive partition to show up in QHS (Qubole Hive Service) and check for its presence via QDS APIs
See also
For more information on how to use this sensor, take a look at the guide: Partition sensor
- Parameters
qubole_conn_id – Connection id which consists of qds auth_token
data –
a JSON object containing payload, whose presence needs to be checked. Check this example for sample payload structure.
Note
Both
dataandqubole_conn_idfields support templating. You can also use.txtfiles for template-driven use cases.