You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/19 19:32:40 UTC

[GitHub] [airflow] vincbeck commented on pull request #22391: Update the redshift sql operator to accept multiple sql statements

vincbeck commented on PR #22391:
URL: https://github.com/apache/airflow/pull/22391#issuecomment-1103017910

   For information, there is also the operator `RedshiftDataOperator` ro tun SQL query against redshift. It uses `redshift-data` service. As of today, it only support single query but it can be easily extended to multiple queries using [batch-execute-statement](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/redshift-data.html#RedshiftDataAPIService.Client.batch_execute_statement). I am not saying it should be done as part of this PR (actually I think the opposite) but I just wanted to share the knowledge.
   
   - If the goal here is to add multiple query support to RedshiftSQLOperator, then ignore this comment
   - If the goal here is to add a feature to run multiple SQL query against Redshift. It might be easier doing it using `redshift-data`


-- 
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