airflow.providers.teradata.transfers.azure_blob_to_teradata

Classes

AzureBlobStorageToTeradataOperator

Loads CSV, JSON and Parquet format data from Azure Blob Storage to Teradata.

Module Contents

class airflow.providers.teradata.transfers.azure_blob_to_teradata.AzureBlobStorageToTeradataOperator(*, blob_source_key, public_bucket=False, azure_conn_id='azure_default', teradata_table, teradata_conn_id='teradata_default', teradata_authorization_name='', **kwargs)[source]

Bases: airflow.providers.common.compat.sdk.BaseOperator

Loads CSV, JSON and Parquet format data from Azure Blob Storage to Teradata.

See also

For more information on how to use this operator, take a look at the guide: AzureBlobStorageToTeradataOperator

Parameters:

When teradata_authorization_name is not set and the object store is private, the store’s credentials are sent to Teradata inside the CREATE TABLE statement itself. Teradata records that statement in its own query logs (DBQL) and monitoring views, which Airflow cannot redact, so the credentials are readable by anyone with access to those. Prefer an AUTHORIZATION object, which keeps the credentials in the database instead of in each statement. Note that blob_source_key and teradata_table are templated, so you can use variables in them if you wish.

template_fields: collections.abc.Sequence[str] = ('blob_source_key', 'teradata_table', 'azure_conn_id', 'teradata_conn_id')[source]
ui_color = '#e07c24'[source]
blob_source_key[source]
public_bucket = False[source]
azure_conn_id = 'azure_default'[source]
teradata_table[source]
teradata_conn_id = 'teradata_default'[source]
teradata_authorization_name = ''[source]
execute(context)[source]

Derive when creating an operator.

The main method to execute the task. Context is the same dictionary used as when rendering jinja templates.

Refer to get_template_context for more context.

Was this entry helpful?