databricks/

directory
v0.0.0-...-072ca4c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT

README

databricks

Driver-only tree. Databricks has no omni parser, analysis or catalog yet, so databricks/driver is the whole tree: it reaches a workspace through the Databricks SDK, syncs Unity Catalog into omni/metadata, runs statements on a SQL warehouse, and dumps the server's own DDL. Bytebase's lexical splitter and EXPLAIN FORMATTED rewrite are carried in the driver until a databricks analysis tree holds them, as clickhouse/driver and hive/driver carry theirs.

The package was verified against a scratch workspace on 2026-11-17. Its live tests passed, driver/testdata/tapes holds the recordings, driver/testdata/sync holds the synced catalog, and databricks/testdata/pins.tsv pins the workspace, SQL warehouse and catalog. The live tests still skip without DATABRICKS_DSN. See driver/VERIFY.md for the recording and parity record.

Directories

Path Synopsis
Package driver is Databricks' implementation of the driver contract in github.com/bytebase/omni/driver: it reaches a Databricks workspace through the Databricks SDK, syncs Unity Catalog's catalogs, schemas and tables into omni/metadata, runs statements through a SQL warehouse, and dumps a workspace's DDL as the server states it.
Package driver is Databricks' implementation of the driver contract in github.com/bytebase/omni/driver: it reaches a Databricks workspace through the Databricks SDK, syncs Unity Catalog's catalogs, schemas and tables into omni/metadata, runs statements through a SQL warehouse, and dumps a workspace's DDL as the server states it.
internal
testcontainer
Package testcontainer is how databricks' driver tests reach a workspace: through a tape (enginetest/tape) that replays a pinned workspace's answers, or, in a recording (OMNI_RECORD=1), through the workspace itself.
Package testcontainer is how databricks' driver tests reach a workspace: through a tape (enginetest/tape) that replays a pinned workspace's answers, or, in a recording (OMNI_RECORD=1), through the workspace itself.

Jump to

Keyboard shortcuts

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