You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/07/28 18:58:58 UTC

[GitHub] [airflow] hussein-awala commented on a diff in pull request #32915: Fix handling of single quotes in RedshiftToS3Operator

hussein-awala commented on code in PR #32915:
URL: https://github.com/apache/airflow/pull/32915#discussion_r1277979908


##########
airflow/providers/amazon/aws/transfers/redshift_to_s3.py:
##########
@@ -144,7 +144,7 @@ def _build_unload_query(
         self, credentials_block: str, select_query: str, s3_key: str, unload_options: str
     ) -> str:
         return f"""
-                    UNLOAD ('{select_query}')
+                    UNLOAD ($${select_query}$$)

Review Comment:
   could you check [this comment](https://github.com/apache/airflow/pull/30300#issuecomment-1486971598)?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org