dbt-databricks
The Databricks adapter plugin for dbt
What it is and what it does
dbt-databricks is a plugin that connects the dbt data transformation framework to Databricks, allowing data analysts and engineers to build, test, and deploy SQL and Python transformations on the Databricks Lakehouse platform. It abstracts away the complexity of Databricks-specific SQL dialects and connection management, letting you write dbt models that compile to optimized Databricks SQL and Python code.
The adapter is purpose-built for Databricks rather than generic Spark, which means it takes advantage of Databricks-native features: Delta tables as the default format, Unity Catalog's three-level namespace (catalog/schema/relation) for governance, and the Photon vectorized execution engine for performance. It depends on dbt-core, dbt-spark, dbt-adapters, and Databricks' own Python SDKs to handle authentication, query execution, and metadata management.
Use it for:
- Build and version-control dbt projects that transform data in Databricks using Delta tables and incremental materializations.
- Organize multi-team data pipelines across catalogs and schemas using Unity Catalog's governance model.
- Mix SQL and Python models in a single dbt project, routing Python models to specific compute via configuration.
- Integrate dbt-databricks into CI/CD workflows or Databricks Jobs for automated data transformation runs.
- Load external data (e.g., from S3) into Delta tables using dbt macros like databricks_copy_into.
- Run data transformation workloads on Databricks with native Photon execution acceleration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
dbt-databricks is a dbt adapter that enables data transformation workflows on Databricks using SQL and Python, with native support for Delta tables and Unity Catalog.
Yes. dbt-databricks is actively maintained, has no known vulnerabilities, and is the recommended adapter for dbt projects on Databricks. It has low install friction, permissive licensing, and integrates deeply with Databricks' native features. Install it if you are building dbt workflows on Databricks.
Install
dbt-databricks on PyPI
pip
pip install dbt-databricksuv
uv add dbt-databrickspoetry
poetry add dbt-databricksInstalling dbt-databricks
Before you install
Low install friction with a pure-Python wheel. The adapter is actively maintained with a recent release and depends on well-established dbt ecosystem packages plus Databricks' own SDKs.
License in practice
Apache-2.0 is permissive; you can use this adapter in commercial projects, modify it, and distribute it freely as long as you include the license notice.
Quickstart
pip install dbt-databricks
# In your dbt profile (profiles.yml):
your_profile_name:
target: dev
outputs:
dev:
type: databricks
schema: [database/schema name]
host: [your.databrickshost.com]
http_path: [/sql/your/http/path]
token: [dapiXXXXXXXXXXXXXXXXXXXXXXX]
Requires Python 3.10 or above; requires a Databricks workspace with SQL or runtime 9.1 LTS or later, plus valid credentials.
Verify before relying
- Performance characteristics when using Photon execution engine compared to standard Spark.
- Limitations when mixing SQL and Python models in the same dbt project on Databricks.
- Support scope for Databricks runtime releases beyond 9.1 LTS.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — click, databricks-sdk, databricks-sql-connector, dbt-adapters, dbt-common, dbt-core, dbt-spark, packaging, pydantic |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 9,200,485/month — #1,554 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dbt_databricks-1.12.4-py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
dbl-discoverxDiscoverX automates bulk administration tasks…
unclear · top 15,000 on PyPI
dbt-sparkdbt-spark is the Apache Spark adapter for dbt,…
permissive · top 5,000 on PyPI
dbldatagenGenerates synthetic data at scale within…
unclear · top 15,000 on PyPI
databricks-labs-remorphConverts SQL code between different database…
unclear · top 5,000 on PyPI
databricks-labs-lsqlExecutes SQL queries against Databricks through…
unclear · top 5,000 on PyPI
dbt-clickhouseA dbt adapter that enables data transformation…
permissive · top 5,000 on PyPI
dbt-fabricsparkA dbt adapter that connects dbt to Apache Spark…
permissive · top 5,000 on PyPI
databricks-sqlProvides a Python interface for querying and…
permissive · top 15,000 on PyPI
dbt-athena-communityA dbt adapter that enables data transformation…
permissive · top 5,000 on PyPI
databricks-dltProvides type hints, API specs, and IDE…
unclear · top 5,000 on PyPI