flolas opened a new pull request, #41511:
URL: https://github.com/apache/airflow/pull/41511
This PR introduces support for multiple queries in the `AthenaOperator` in
the AWS provider for Apache Airflow
- The `query` parameter now accepts a list of SQL strings in addition to
a single string. This allows the execution of multiple queries in sequence
within a single task.
- A new optional parameter `split_statements` has been added.
- The query execution logic has been refactored into a loop that
processes each query individually, ensuring that all queries are executed or
appropriately deferred.
- The `execute_next_query` method has been introduced to handle the
deferred execution of queries. This method replaces the `execute_complete`
method.
**TODOs**
- Add unit tests
- Fix warnings
--
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]