Databricks SDK Go v0.128.0: Host metadata resolver and SPOG compatibility
Databricks SDK Go v0.128.0 introduces a default host metadata resolver for easier configuration and improves compatibility with SPOG hosts by adding the X-Databricks-Org-Id header to several workspace operations. These changes aim to simplify client setup and ensure smoother interactions in specific environments. This release is available now for developers using the Go SDK.
- →Add X-Databricks-Org-Id header to Workspace.Download() and Workspace.Upload() for SPOG host compatibility
Fixes (3) ›
- Add X-Databricks-Org-Id header to Workspace.Download() and Workspace.Upload() for SPOG host compatibility
WorkspaceClient.CurrentWorkspaceID() now returns Config.WorkspaceID directly when set, instead of calling /api/2.0/preview/scim/v2/Me. This removes an API round-trip on every call where the workspace ID is already known (profile, ?o= query param, env var, or host metadata) and fixes a failure on SPOG hosts where the unauthenticated probe request was rejected with Unable to load OAuth Config
Add X-Databricks-Org-Id header to SharesAPI.internalList() (service/sharing/ext_api.go) for SPOG host compatibility. Same class of bug as #1634 - a hand-written extension method was calling a.client.Do() without the header that the generated code paths set per-call
https://github.com/databricks/databricks-sdk-go/releases/tag/v0.128.0
Related releases
- Building an AI-Forward Healthcare Organization on Data and Governance Databricks Blog ·
- Databricks Accelerates Agentic Media Buying with New Reference Implementation Databricks Blog ·
- NBCUniversal Migrates to Databricks Lakehouse for Scalable Analytics Databricks Blog ·
- Databricks SDK for Python v0.123.0: API changes and breaking updates Databricks Python SDK Releases ·
- Databricks Go SDK v0.167.0 Adds Cloud Provider Auth Fields Databricks Go SDK Releases ·
- Databricks SDK Java v0.138.0 Adds Model Provider Config Fields Databricks Java SDK Releases ·