kazanzhy opened a new pull request, #23817:
URL: https://github.com/apache/airflow/pull/23817
Handler parameter from JdbcOperator to JdbcHook.run and return results to
XCom
closes: #19313
The main problem here was to make a comparable handler for testing because
lambda and `operator.methodcaller('fetchall') couldn't be them. Also, we can
use
```
from sqlalchemy.engine import CursorResult
handler=CursorResult.fetchall,
```
--
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]