dbt-trino
The trino adapter plugin for dbt (data build tool)
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Trino or Starburst instance accessible over the network; dbt-core and its dependencies must also be installed.
- Low friction installation as a pure Python wheel.
- Actively maintained with a release 18 days ago and ongoing commits.
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—standard for data tools and compatible with most enterprise environments.
last release 2026-07-27 (18 days) · last repo commit 2026-07-27 · 264 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 768,366 downloads/mo, #5,114 on PyPI
Alternatives
Verify before relying
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- 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).
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 on it.
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
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.
Requires a running Trino or Starburst instance accessible over the network; dbt-core and its dependencies must also be installed.
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
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 packagesdbt-commondbt-adapterstrinorequestsdbt-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 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: dbt_trino-1.10.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dbt trino adapter”
- dbt-trinoA dbt adapter that connects dbt projects to Trino, enabling SQL-based…
- trinoPython client library for Trino, a distributed SQL engine, providing…
- dbt-adaptersProvides base adapter protocols and shared functionality that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also dbt-vertica · dbt-bigquery · dbt-postgres · dbt-snowflake · dbt-core · dbt-oracle · dbt-databricks · dbt-dremio · trino · dbt-metabase