Help us shape the future of Go! Take the 2026 Go Developer Survey

databricks

package
v1.96.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnInfo added in v1.91.0

type ColumnInfo struct {
	Name     string `json:"name"`
	TypeName string `json:"type_name"`
	TypeText string `json:"type_text"`
	TypeJSON string `json:"type_json"`
	Position int    `json:"position"`
	Nullable bool   `json:"nullable"`
}

type Databricks

type Databricks struct {
	// contains filtered or unexported fields
}

func New

func New(db *sql.DB, apiClient TablesAPIClient, explicitSchema bool) *Databricks

func (*Databricks) Analyze

func (dbx *Databricks) Analyze(s *schema.Schema) (err error)

func (*Databricks) Info

func (dbx *Databricks) Info() (*schema.Driver, error)

type TableInfo added in v1.91.0

type TableInfo struct {
	FullName string       `json:"full_name"`
	Columns  []ColumnInfo `json:"columns"`
}

type TablesAPIClient added in v1.91.0

type TablesAPIClient interface {
	GetTable(ctx context.Context, catalog, schema, tableName string) (*TableInfo, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL