Skip to content

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

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

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