airflow.providers.qubole.hooks.qubole_check

Module Contents

Classes

QuboleCheckHook

Qubole check hook

Functions

isint(value)

Whether Qubole column are integer

isfloat(value)

Whether Qubole column are float

isbool(value)

Whether Qubole column are boolean

parse_first_row(row_list)

Parse Qubole first record list

Attributes

log

COL_DELIM

ROW_DELIM

airflow.providers.qubole.hooks.qubole_check.log[source]
airflow.providers.qubole.hooks.qubole_check.COL_DELIM =[source]
airflow.providers.qubole.hooks.qubole_check.ROW_DELIM =[source]
airflow.providers.qubole.hooks.qubole_check.isint(value)[source]

Whether Qubole column are integer

airflow.providers.qubole.hooks.qubole_check.isfloat(value)[source]

Whether Qubole column are float

airflow.providers.qubole.hooks.qubole_check.isbool(value)[source]

Whether Qubole column are boolean

airflow.providers.qubole.hooks.qubole_check.parse_first_row(row_list)[source]

Parse Qubole first record list

class airflow.providers.qubole.hooks.qubole_check.QuboleCheckHook(context, *args, **kwargs)[source]

Bases: airflow.providers.qubole.hooks.qubole.QuboleHook, airflow.hooks.dbapi.DbApiHook

Qubole check hook

static handle_failure_retry(context)[source]

Handle retries in case of failures

get_first(self, sql)[source]

Get Qubole query first record list

get_query_results(self)[source]

Get Qubole query result

Was this entry helpful?