Documentation
¶
Overview ¶
Package databrickssql provides Databricks SQL schema translation with DELTA and field comments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator struct{}
Translator translates JSON schemas to Databricks SQL CREATE TABLE statements.
func (*Translator) FileExtension ¶
func (t *Translator) FileExtension() string
FileExtension returns the file extension for SQL files.
func (*Translator) Translate ¶
func (t *Translator) Translate(portName string, schema *jsonschema.Schema, _ string) ([]byte, error)
Translate converts a JSON schema to a Databricks SQL CREATE TABLE statement with USING DELTA.
Click to show internal directories.
Click to hide internal directories.