npm.io
0.3.0 • Published yesterday

@ddt-tools/core

Licence
Apache-2.0
Version
0.3.0
Deps
4
Size
30.1 MB
Vulns
0
Weekly
0

DDT — Databricks Data Tools

Databricks Data Tools

Marketplace Installs CLI on npm

Declarative schema management for Databricks Unity Catalog, from VS Code and the CLI. Author your schema as .sql files, compare them against a live workspace, and deploy with a safety classifier that refuses to do dangerous things silently.

Public Beta — all features are free during the 30-day beta. AI features are bring-your-own-API-key. See Beta program below.

This repository is the public home for DDT — release notes, privacy policy, support, and issue tracking. The product source code is not published here.


What DDT is

Databricks ships building blocks — the SDK, the CLI, Terraform providers — but no end-to-end workflow for managing Unity Catalog schemas: no compare engine, no safety classification, no rollback story. DDT fills that gap. You author each UC object as a .sql file (a desired-state spec using CREATE OR REPLACE, the Databricks idiom), and DDT computes the deltas between your project and the live workspace — you never hand-write forward/backward migration files. Every proposed change is classified SAFE, DESTRUCTIVE, EXPENSIVE, or UNRECOVERABLE, and anything destructive refuses to run without an explicit opt-in. DDT understands UC-specific failure modes — dropping a streaming table loses its checkpoint cursor; dropping a managed table deletes its files — that generic SQL tools miss.

It is the Databricks counterpart to SDT (Snowflake Data Tools): same design, same CLI surface, so a team that knows one learns the other in a day.

Highlights:

  • Schema compare — diff a project, a built .ddtpac, or a live Unity Catalog workspace in any direction, with per-change safety classification inline.
  • Safe deploy — destructive operations gated behind explicit opt-ins; UC-aware safety (managed-table file deletion, streaming-table checkpoint loss, and more).
  • Extract / reverse-engineer — pull a live workspace into a tree of .sql files.
  • Object Explorer, lint, format, lineage, drift check, deploy history.
  • AI assist (bring your own key) — sketch objects from a description, suggest safer alternatives for risky changes, and an "Ask DDT" chat panel.

Databricks users predominantly drive DDT from the CLI and CI; the project lifecycle (init / build / publish / extract) lives in the @ddt-tools/cli, while the VS Code surface focuses on browsing, comparing, diagramming, and reviewing.

See it in action

Schema compare with a safety verdict on every changeSAFE / DESTRUCTIVE / EXPENSIVE / UNRECOVERABLE, before anything touches your live workspace:

Schema Compare demo

Watch the 60-second demo on YouTube

Deploys that refuse to destroy data silently — destructive changes come out blocked as comments until you opt in, and a DEEP CLONE makes every deploy one command away from rollback:

Safe deploy demo

Watch the 60-second demo on YouTube

Reverse-engineer an entire workspace in seconds — one command, one .sql file per object, ready for git:

Extract demo

Watch the 60-second demo on YouTube

More demos on the SDT & DDT YouTube channel — subscribe to catch new ones.

Documentation

Full documentation →

Start Core workflow Reference Help
Getting started Extract CLI reference FAQ
Connections Schema compare VS Code reference Troubleshooting
Projects Safe deploy Configuration Support
Safety classifier AI features · CI/CD

Install

Requirements: VS Code 1.90+; Node.js 20+ for the CLI; works on Windows, macOS, and Linux. Connects to any workspace with Unity Catalog enabled (AWS, Azure, or GCP); PAT and OAuth machine-to-machine (M2M) auth supported.

Beta program

DDT is in a 30-day public beta. During the beta:

  • Every feature is free — the full deterministic engine plus all AI write-side features.
  • AI features are bring-your-own-key — your prompts go directly from your machine to your chosen AI provider under your own account; DDT never sees, proxies, or stores that traffic.
  • Please report bugs. That's the whole point of a beta — see SUPPORT.md. If you opted into automatic error reporting on first run, a crash may already have sent us a sanitized diagnostic; a GitHub issue with what you were doing still helps a lot.

After the beta the deterministic core (compare, safe deploy, extract, lint, format, lineage, Object Explorer, schema diagram) stays free; AI write-side and some ownership features move to a Pro tier. Details will be posted in RELEASES.md.

Privacy

DDT's telemetry is opt-in and heavily sanitized — your SQL, identifiers, catalog/schema/table/column names, data, and credentials never leave your machine. AI features are bring-your-own-key with no AI subprocessor on our side. Full details: PRIVACY.md.

Support

Bug reports, feature requests, and questions: SUPPORT.md. Quick paths: open a GitHub issue, run ddt feedback, or email sdt.ddt.tools@gmail.com.


DDT is an independent tool and is not affiliated with, endorsed by, or sponsored by Databricks Inc. "Databricks", "Unity Catalog", and "Delta Lake" are trademarks of Databricks Inc., used here for descriptive purposes only.