Go to file
2021-01-03 13:40:32 +09:00
.devcontainer dos2unix 2021-01-03 13:02:23 +09:00
.vscode dos2unix 2021-01-03 13:02:23 +09:00
aws dos2unix 2021-01-03 13:02:23 +09:00
azure separate models 2021-01-03 13:40:32 +09:00
cmd add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
hack adding deepcopy 2019-06-25 11:28:26 +10:00
.gitmodules remove submodule 2019-05-27 10:26:47 +10:00
databricks.go dos2unix 2021-01-03 13:02:23 +09:00
doc.go dos2unix 2021-01-03 13:02:23 +09:00
go.mod dos2unix 2021-01-03 13:02:23 +09:00
go.sum dos2unix 2021-01-03 13:02:23 +09:00
LICENSE dos2unix 2021-01-03 13:02:23 +09:00
Makefile dos2unix 2021-01-03 13:02:23 +09:00
query.go dos2unix 2021-01-03 13:02:23 +09:00
README.md dos2unix 2021-01-03 13:02:23 +09:00
version.go dos2unix 2021-01-03 13:02:23 +09:00

databricks-sdk-golang

This is a Golang SDK for DataBricks REST API 2.0 and Azure DataBricks REST API 2.0.

WARNING: The SDK is unstable and under development. More testing needed!

Usage

import (
  databricks "github.com/xinsnake/databricks-sdk-golang"
  dbAzure "github.com/xinsnake/databricks-sdk-golang/azure"
  // dbAws "github.com/xinsnake/databricks-sdk-golang/aws"
)

var o databricks.DBClientOption
o.Host = os.Getenv("DATABRICKS_HOST")
o.Token = os.Getenv("DATABRICKS_TOKEN")

var c dbAzure.DBClient
c.Init(o)

jobs, err := c.Jobs().List()

Implementation Progress

Everything except SCIM API are implemented. Please refer to the progress below:

API AWS Azure
Clusters API
DBFS API
Groups API
Instance Pools API (preview)
Instance Profiles API N/A
Jobs API
Libraries API
MLflow API
SCIM API (preview)
Secrets API
Token API
Workspace API

Notes

  • Deepcopy is generated shall you need it.