Documentation
¶
Overview ¶
Package databrickspyspark provides Databricks PySpark schema translation with metadata 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 PySpark StructType definitions with metadata.
func (*Translator) FileExtension ¶
func (t *Translator) FileExtension() string
FileExtension returns the file extension for Python files.
func (*Translator) Translate ¶
func (t *Translator) Translate(portName string, schema *jsonschema.Schema, _ string) ([]byte, error)
Translate converts a JSON schema to Databricks PySpark StructType definitions.