S3 To Redshift Transfer Operator¶
Overview¶
The S3ToRedshiftOperator
copies data from a S3 Bucket into a Redshift table.
The example dag provided showcases the
S3ToRedshiftOperator
in action.
example_s3_to_redshift.py
example_s3_to_redshift.py¶
Purpose¶
This is a basic example dag for using S3ToRedshiftOperator
to copies data from a S3 Bucket into a Redshift table.
Environment variables¶
This example relies on the following variables, which can be passed via OS environment variables.
You need to set at least the S3_BUCKET
.