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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to