tests.system.teradata.example_s3_to_teradata_transfer
¶
Example Airflow DAG to show usage of S3StorageToTeradataOperator.
The transfer operator moves files in CSV, JSON, and PARQUET formats from S3 to Teradata tables. In the example Directed Acyclic Graph (DAG) below, it assumes Airflow Connections with the IDs teradata_default and aws_default already exist. The DAG creates tables using data from the S3, reports the number of rows inserted into the table, and subsequently drops the table.