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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
