Skip to content

feat(databricks): add Databricks SQL adapter#241

Open
Maxteabag wants to merge 2 commits into
mainfrom
feat/databricks-adapter
Open

feat(databricks): add Databricks SQL adapter#241
Maxteabag wants to merge 2 commits into
mainfrom
feat/databricks-adapter

Conversation

@Maxteabag
Copy link
Copy Markdown
Owner

Adds a Databricks provider using databricks-sql-connector.

  • Unity Catalog three-level namespace (catalog.schema.table), modeled on the Trino adapter
  • Auth: PAT, OAuth U2M (browser), OAuth M2M (service principal — databricks-sdk imported lazily only when selected)
  • SHOW CATALOGS for catalog listing; information_schema for tables/views/columns; backtick quoting
  • Optional install: pipx inject sqlit-tui databricks-sql-connector (or [databricks] extra)

No live integration tests — the adapter was built from the official connector docs and the API surface is covered by 13 mock-based unit tests in tests/unit/test_databricks_adapter.py. Full suite (1058 tests) still passes.

Maxteabag added 2 commits May 25, 2026 17:00
Three-level Unity Catalog (catalog.schema.table) via databricks-sql-connector.
Supports PAT, OAuth U2M (browser), and OAuth M2M (service principal) auth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant