kazanzhy opened a new pull request, #25412:
URL: https://github.com/apache/airflow/pull/25412

   I added a very unpleasant bug in #23817 to close #19313.
   It was adding `fetchall` to JdbcHook in JdbcOperator.
   But error raises when running not select statements as described in #25388
   
   My main question for other maintainers is which solution is better
   - adding parameter `fetch_results: bool` 
   - give users the ability to pass their own handlers
   
   Anyway, for more compatibility and unification we have to decide the default 
behavior of SQL operators in terms of returning results.
   
   My opinion is adding `handler` parameter and no Xcom push by default, like:
   ``handler: Optional[Callable] = None``


-- 
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]

Reply via email to