Skip to content

Use 'user_agent_entry' instead of '_user_agent_entry' when connecting to Databricks SQL #36

Closed

Description

@henryhueske

With the release 4.0.1 of the Databricks SQL connector (https://github.com/databricks/databricks-sql-python), the connection parameter _user_agent_entry was replaced with the parameter user_agent_entry, see https://github.com/databricks/databricks-sql-python/blob/main/CHANGELOG.md. However, this library still uses the old connection parameter while creating the connection to Databricks, see

cparams["_user_agent_entry"] = add_sqla_tag_if_not_present(ua)

As a result, the following error message occurs:

[databricks.sql.client] [WARN] Parameter '_user_agent_entry' is deprecated; use 'user_agent_entry' instead. This parameter will be removed in the upcoming releases.

Please check this issue (and change the parameter name). Thanks!

Activity

  1. added a commit that references this issue on Sep 22, 2025
    ffd1a08
  2. gdubya commented on Jan 7, 2026

    @gdubya

    Would be nice if this could be fixed (i.e. merge #45). Any plans for a new release? 🙏🏻 😄

  3. en93 commented on Jan 18, 2026

    @en93

    Would be amazing if we could have that fix merged 🙏

  4. jprakash-db commented on May 21, 2026

    @jprakash-db
    Collaborator

    Raise fix for this issue - #64
    @msrathore-db Can you review it

  5. added a commit that references this issue on May 27, 2026
    7e74a3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions