Skip to content

Commit

Permalink
Fix backwards compatibility for RedshiftSQLOperator (#27602)
Browse files Browse the repository at this point in the history
* Fix backwards compatibility for RedshiftSQLOperator

* Remove redshift_conn_id from template fields
  • Loading branch information
syedahsn committed Nov 10, 2022
1 parent 9345953 commit f919abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/operators/redshift_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RedshiftSQLOperator(SQLExecuteQueryOperator):

template_fields: Sequence[str] = (
"sql",
"redshift_conn_id",
"conn_id",
)
template_ext: Sequence[str] = (".sql",)
template_fields_renderers = {"sql": "postgresql"}
Expand Down

0 comments on commit f919abc

Please sign in to comment.