karenbraganz commented on code in PR #65618:
URL: https://github.com/apache/airflow/pull/65618#discussion_r3381079416
##########
providers/common/sql/src/airflow/providers/common/sql/operators/sql.py:
##########
@@ -513,6 +517,7 @@ def __init__(
return_last: bool = True,
show_return_value_in_logs: bool = False,
requires_result_fetch: bool = False,
+ deferrable: bool = conf.getboolean("operators", "default_deferrable",
fallback=False),
Review Comment:
That's a good point. Currently, this is only compatible with PostgresHook.
Would we have to wait significantly longer for a major version release if this
were classified as a breaking change? What would be the timeline?
I could also add a check for the hook and explicitly raise an error that
would show up in the task logs so that users at least know what is wrong
immediately if their task fails.
--
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]