SamWheating commented on pull request #22391: URL: https://github.com/apache/airflow/pull/22391#issuecomment-1074420211
Ah yeah, sorry about that I just read the linked issue and realized the difference between a list of statements and multiple statements in a single string 🤦 In this case, could we just `sqlparse.split` the queries into a list and then pass that list to the parent class's `run` method? This would reduce duplication of logic and preserve some of the additional functionality such as the `handler` parameter which is implemented in the dbApiHook but not in the overriding`run_sql` method. -- 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]
