vincbeck commented on code in PR #35986:
URL: https://github.com/apache/airflow/pull/35986#discussion_r1412169388
##########
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:
Ouh! That's a good catch!
--
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]