Repository navigation
Fix DatabricksSqlHook deprecation warning on every connection - #72289
sohailiqrar wants to merge 1 commit into
Conversation
databricks-sql-connector deprecated the ``_user_agent_entry`` keyword argument in favour of ``user_agent_entry`` (no leading underscore). Passing the old name logs a warning on every call to get_conn(), which fires for every DatabricksSqlOperator / sensor execution. Switch to the current parameter name so the warning is no longer emitted.
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
|
Switch to the current parameter name closes: #72102 |
|
Thanks for this, and sorry it ends here — closing as superseded by #72103, through no fault of yours. The same one-line change landed on Two notes for next time, both small:
One part of your PR is still genuinely missing from
|
databricks-sql-connector deprecated the
_user_agent_entrykeyword argument in favour ofuser_agent_entry(no leading underscore). Passing the old name logs a warning on every call to get_conn(), which fires for every DatabricksSqlOperator / sensor execution. Switch to the current parameter name so the warning is no longer emitted.Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.