vincbeck commented on code in PR #35986:
URL: https://github.com/apache/airflow/pull/35986#discussion_r1412210256
##########
airflow/providers/amazon/aws/transfers/redshift_to_s3.py:
##########
@@ -141,8 +141,10 @@ def __init__(
def _build_unload_query(
self, credentials_block: str, select_query: str, s3_key: str,
unload_options: str
) -> str:
+ # Un-escape already escaped queries
+ select_query = select_query.replace("''", "'")
Review Comment:
I addressed it in
[7d06f1e259a695fc68e16e50e9562f514dbb757d](https://github.com/apache/airflow/pull/35986/commits/7d06f1e259a695fc68e16e50e9562f514dbb757d).
I also added a unit test for this use case
--
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]