dbt-trino
The trino adapter plugin for dbt (data build tool)
What it is and what it does
dbt-trino is a dbt adapter that bridges dbt projects to Trino, a distributed SQL query engine. It allows you to define data transformations in dbt SQL and have Trino execute them across multiple heterogeneous data sources—databases, data lakes, and other systems—without moving data between them. This is query federation: Trino translates your SQL to the native dialects of each underlying source and orchestrates the results.
The adapter is a fork of dbt-presto adapted for Trino's connector ecosystem. It handles the translation between dbt's transformation model and Trino's execution layer, letting teams use dbt's modularity, testing, and CI/CD practices while leveraging Trino's ability to query across disparate systems in a single project. It supports Python 3.9 through 3.13 and is actively maintained.
Use it for:
- Build a single dbt project that transforms data across multiple internal databases via Trino connectors without ETL.
- Federate queries across disparate data sources using dbt models to define transformation logic.
- Migrate analytics workflows from dbt-presto to Trino while keeping existing dbt projects intact.
- Test and document SQL transformations that span multiple data sources before materializing results.
- Implement CI/CD pipelines for data transformations that run against a Trino cluster in a staging environment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A dbt adapter that connects dbt projects to Trino, enabling SQL-based data transformations across multiple federated data sources through a single connection.
Yes, if you use Trino or Starburst and want to manage multi-source SQL transformations with dbt. The adapter is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Install it if your data architecture relies on query federation; skip it if you work with a single warehouse or don't use dbt.
Install
dbt-trino on PyPI
pip
pip install dbt-trinouv
uv add dbt-trinopoetry
poetry add dbt-trinoInstalling dbt-trino
Before you install
Low friction installation as a pure Python wheel. Actively maintained with a release 18 days ago and ongoing commits. Supports Python 3.9, 3.10, 3.11, 3.12, 3.13 and is marked Production/Stable.
License in practice
Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—standard for data tools and compatible with most enterprise environments.
Quickstart
pip install dbt-trino
In profiles.yml:
my_trino_db:
target: dev
outputs:
dev:
type: trino
host: [trino-host]
port: [port]
user: [username]
database: [database]
schema: [schema]
Then: dbt run
Requires a running Trino or Starburst instance accessible over the network; dbt-core and its dependencies must also be installed.
Verify before relying
- Whether the adapter supports all Trino connectors or only a subset of available connectors.
- Performance characteristics and query optimization strategies when working with large federated datasets across many sources.
- Specific version compatibility guarantees beyond tested versions 478 (Trino) and 477-e.1 (Starburst Enterprise).
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — dbt-common, dbt-adapters, trino, requests, dbt-core |
| Maintenance | actively maintained — 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 768,366/month — #5,114 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dbt_trino-1.10.3-py3-none-any.whl
Tags
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object…
permissive · top 100 on PyPI
psycopg2-binarypsycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI
psycopgPsycopg 3 is a PostgreSQL database adapter for…
copyleft · top 1,000 on PyPI
dbt-verticadbt adapter that enables data transformation…
permissive · top 15,000 on PyPI
dbt-bigquerydbt-bigquery is a dbt adapter that enables data…
permissive · top 5,000 on PyPI
dbt-postgresdbt-postgres is a dbt adapter that connects dbt…
permissive · top 5,000 on PyPI
dbt-snowflakedbt-snowflake is the Snowflake adapter for dbt,…
permissive · top 5,000 on PyPI
dbt-coredbt-core transforms raw data in a warehouse…
permissive · top 1,000 on PyPI
dbt-oracledbt-oracle is a dbt adapter that enables data…
permissive · top 15,000 on PyPI
dbt-databricksdbt-databricks is a dbt adapter that enables…
permissive · top 5,000 on PyPI
dbt-dremiodbt-dremio is a dbt adapter that enables data…
permissive · top 15,000 on PyPI
trinoPython client library for Trino, a distributed…
permissive · top 1,000 on PyPI
dbt-metabaseSyncs dbt project metadata (table…
permissive · top 15,000 on PyPI