Skip to content

Use non-deprecated user_agent_entry param in DatabricksSqlHook - #72103

Open
peloyeje wants to merge 1 commit into
apache:mainfrom
peloyeje:fix/databricks-sql-hook-user-agent-entry
Open

Use non-deprecated user_agent_entry param in DatabricksSqlHook#72103
peloyeje wants to merge 1 commit into
apache:mainfrom
peloyeje:fix/databricks-sql-hook-user-agent-entry

Conversation

@peloyeje

Copy link
Copy Markdown
Contributor

closes: #72102

databricks-sql-connector's Session renamed _user_agent_entry to
user_agent_entry and only keeps the old name for backward compatibility,
logging a deprecation warning on every connection opened through
DatabricksSqlHook.get_conn(). This switches the hook to the current
parameter name.

No behavior change: user_agent_entry is supported by every
databricks-sql-connector version this provider currently allows
(>=4.4.0).

Was generative AI tooling used to co-author this PR?
  • Yes, Claude Code

databricks-sql-connector renamed _user_agent_entry to user_agent_entry
and only keeps the old name for backward compatibility, logging a
deprecation warning on every connection opened through
DatabricksSqlHook.get_conn(). Pass the current parameter name instead.
@potiuk
potiuk force-pushed the fix/databricks-sql-hook-user-agent-entry branch from f9f08e0 to c569929 Compare August 27, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatabricksSqlHook.get_conn() passes deprecated _user_agent_entry to databricks-sql-connector

2 participants