dbt_trino

Configure dbt profiles and incremental models for Trino and Starburst.

14|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/ivanshamaev/de-agent-skills --skill dbt-trino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbt_trino
Source: https://github.com/ivanshamaev/de-agent-skills/tree/main/skills/dbt_trino
Command: npx skills add https://github.com/ivanshamaev/de-agent-skills --skill dbt-trino

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

dbt + Trino projects often fail or underperform due to misconfigured profiles/authentication, incorrect materialization choices, unsafe incremental logic, or missing engine/session/table properties.

Core Features & Use Cases

  • profiles.yml setup & authentication: Configure Trino/Starburst connections with the right auth method (none/ldap/kerberos/jwt/certificate/oauth) and production-safe practices like env-var secrets.
  • dbt model materializations & patterns: Select the correct materialization (table/view/incremental/materialized_view/ephemeral) and structure a maintainable project (staging → intermediate → marts) that fits Trino/connector capabilities.
  • incremental correctness & performance tuning: Implement append/merge/delete+insert strategies, manage on_schema_change behavior, set Iceberg/Hive/Delta table properties, and add session/table properties that reduce scan cost and avoid connector-specific pitfalls.

Quick Start

Use the dbt_trino skill to generate a Trino-targeted profiles.yml and a production-ready incremental model config for Iceberg tables using the merge strategy.

Frequently Asked Questions about dbt_trino

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure profiles.yml for dbt and Trino authentication?

Configure dbt Trino profiles.yml by selecting the correct authentication method—none, ldap, kerberos, jwt, certificate, or oauth—and storing secrets in environment variables for production-safe connectivity.

What is the best incremental model strategy for dbt Iceberg tables on Trino?

The best incremental model strategy for dbt Iceberg tables on Trino uses the merge strategy, combined with incremental_predicates and correct on_schema_change behavior to manage updates safely and reduce scan costs.

Does dbt work with Starburst for data modeling and materializations?

dbt works with Starburst for data modeling by configuring Trino-compatible targets, supporting materializations like materialized_view and incremental, and applying engine-specific session_properties for pipeline execution.

How do I structure a dbt Trino project for staging, intermediate, and marts layers?

Structure a dbt Trino project by organizing models into staging, intermediate, and marts layers, selecting table, view, incremental, or ephemeral materializations that fit Trino connector capabilities and querying patterns.

Why does my dbt incremental pipeline fail on Trino Hive tables during schema changes?

dbt incremental pipelines fail on Trino Hive tables during schema changes when on_schema_change is misconfigured; setting correct Iceberg, Hive, or Delta table properties and using full-refresh guidance resolves connector-specific pitfalls.

Can I use delete+insert strategies for dbt incremental models on Trino?

You can use delete+insert, append, and merge strategies for dbt incremental models on Trino, applying session_properties and incremental_predicates to optimize performance and avoid connector-specific execution errors.