RedshiftSQLHook

Amazon

Execute statements against Amazon Redshift, using redshift_connector

View on GitHub

Last Updated: Dec. 17, 2021

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

redshift_conn_idstrreference to Amazon Redshift connection id

Documentation

Execute statements against Amazon Redshift, using redshift_connector

This hook requires the redshift_conn_id connection.

Note

get_sqlalchemy_engine() and get_uri() depend on sqlalchemy-amazon-redshift

Was this page helpful?