Anonymous View
Skip to content

Databricks runs fail to execute on 0.235.4 with thrift error #5841

@davem-bis

Description

@davem-bis

When upgrading from 0.235.3 to 0.235.4, existing environments fail to run in Databricks with the error:

ERROR:databricks.sql.thrift_backend:ThriftBackend.attempt_request: Exception: encoding without a string argument.

Downgrading to 0.235.3 resolves this issue.

The underlying model SQL I can see being executed successfully against a Databricks Warehouse. I believe that this has been caused by PRs #5783 and #5816, as when I remove the DatabricksEngineAdapter.columns method added by those PRs this error does not occur.

Environments:

  1. Type: Databricks Cluster 17.3 LTS
    Connection mode: Databricks SQL Connector
    Python: 3.12.3
  2. Type: Windows 11
    Connection mode: Databricks SQL Connector
    Python: 3.12.3

The Databricks SQL Connector and thrift versions do not make a difference in success, it's purely whether version 0.235.3 or 0.235.4 is running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions