astronomer.providers.amazon.aws.operators.redshift_sql¶
Classes¶
Executes SQL Statements against an Amazon Redshift cluster" |
Module Contents¶
- class astronomer.providers.amazon.aws.operators.redshift_sql.RedshiftSQLOperatorAsync(*, redshift_conn_id='redshift_default', poll_interval=5, **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.operators.redshift_sql.RedshiftSQLOperator
Executes SQL Statements against an Amazon Redshift cluster”
- Parameters:
sql – the SQL code to be executed as a single string, or a list of str (sql statements), or a reference to a template file. Template references are recognized by str ending in ‘.sql’
redshift_conn_id (str) – reference to Amazon Redshift connection id
parameters – (optional) the parameters to render the SQL query with.
autocommit – if True, each command is automatically committed. (default value: False)
- redshift_conn_id¶
- poll_interval¶