tests.system.teradata.example_tpt

Example Airflow DAG to show usage of DdlOperator.

This DAG assumes an Airflow Connection with connection id teradata_default already exists locally. It demonstrates how to use DdlOperator to create, drop, alter, and rename Teradata tables and indexes.

Attributes

ENV_ID

DAG_ID

CONN_ID

SSH_CONN_ID

SYSTEM_TESTS_DIR

params

drop_table

test_run

Module Contents

tests.system.teradata.example_tpt.ENV_ID[source]
tests.system.teradata.example_tpt.DAG_ID = 'example_tpt'[source]
tests.system.teradata.example_tpt.CONN_ID = 'teradata_default'[source]
tests.system.teradata.example_tpt.SSH_CONN_ID = 'ssh_default'[source]
tests.system.teradata.example_tpt.SYSTEM_TESTS_DIR = b'.'[source]
tests.system.teradata.example_tpt.params[source]
tests.system.teradata.example_tpt.drop_table[source]
tests.system.teradata.example_tpt.test_run[source]

Was this entry helpful?