databricks Databricks Go SDK Releases · · 0.128.0

Databricks SDK Go v0.128.0: Host metadata resolver and SPOG compatibility

sdkinfradatabrickspreviewengineer
patch

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

Read the original announcement →

https://github.com/databricks/databricks-sdk-go/releases/tag/v0.128.0

Related releases