airflow.providers.microsoft.azure.operators.adx

This module contains Azure Data Explorer operators.

Module Contents

Classes

AzureDataExplorerQueryOperator

Operator for querying Azure Data Explorer (Kusto).

class airflow.providers.microsoft.azure.operators.adx.AzureDataExplorerQueryOperator(*, query, database, options=None, azure_data_explorer_conn_id='azure_data_explorer_default', **kwargs)[source]

Bases: airflow.models.BaseOperator

Operator for querying Azure Data Explorer (Kusto).

Parameters
ui_color = '#00a1f2'[source]
template_fields: collections.abc.Sequence[str] = ('query', 'database')[source]
template_ext: collections.abc.Sequence[str] = ('.kql',)[source]
hook()[source]

Return new instance of AzureDataExplorerHook.

execute(context)[source]

Run KQL Query on Azure Data Explorer (Kusto).

Returns PrimaryResult of Query v2 HTTP response contents.

https://docs.microsoft.com/en-us/azure/kusto/api/rest/response2

Was this entry helpful?