potiuk commented on a change in pull request #21403:
URL: https://github.com/apache/airflow/pull/21403#discussion_r801100375
##########
File path: airflow/providers/amazon/aws/operators/redshift_sql.py
##########
@@ -44,7 +44,8 @@ class RedshiftSQLOperator(BaseOperator):
template_fields: Sequence[str] = ('sql',)
template_ext: Sequence[str] = ('.sql',)
- template_fields_renderers = {"sql": "postgresql"}
+ # TODO: Update ``sql`` renderer to "postgresql" when the lexer is
available in Airflow 2.3.0.
+ template_fields_renderers = {"sql": "sql"}
Review comment:
something like that should work :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]