tests.system.teradata.example_tpt
Example Airflow DAG to show usage of DdlOperator and TdLoadOperator.
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.
It also shows how to load data from a file to a Teradata table, export data from a Teradata table to a file and
transfer data between two Teradata tables (potentially across different databases).
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.SOURCE_FILE[source]
-
tests.system.teradata.example_tpt.TARGET_FILE[source]
-
tests.system.teradata.example_tpt.params[source]
-
tests.system.teradata.example_tpt.drop_table[source]
-
tests.system.teradata.example_tpt.test_run[source]