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/03/21 20:45:55 UTC
[GitHub] [airflow] SamWheating edited a comment on pull request #22391: Update the redshift sql operator to accept multiple sql statements
SamWheating edited a comment on pull request #22391:
URL: https://github.com/apache/airflow/pull/22391#issuecomment-1074400949
I think that the base `DbAPIHook` already supports a list of statements, and the type of `sql` can be either a string or an iterable.
https://github.com/apache/airflow/blob/900bad1c67654252196bb095a2a150a23ae5fc9a/airflow/hooks/dbapi.py#L163-L196
Can't we just supply a list of SQL statements to the existing operator?
--
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