dbt
OfficialAutomate TD data transformations, effortlessly.
Authortreasure-data
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides expert guidance for using dbt (data build tool) with Treasure Data Trino, solving the complexity of setting up, configuring, and optimizing data transformations. It helps users overcome common issues like Trino adapter incompatibilities and ensures efficient, reliable data pipelines.
Core Features & Use Cases
- TD-Specific Setup: Guides on installing dbt, configuring
profiles.ymlanddbt_project.ymlfor Treasure Data Trino, ensuring a smooth integration. - Macro Overrides: Provides essential dbt-trino macro overrides to ensure compatibility with TD's Trino engine, preventing common errors like "This connector does not support creating views."
- Incremental Models: Offers patterns and macros for building efficient incremental models using
TD_INTERVALto process only new data, saving time and compute resources. - Use Case: A data engineer needs to build a robust daily ETL pipeline that transforms raw event data into aggregated metrics. This skill helps them set up dbt, define incremental models, and integrate with TD Workflows, ensuring data is processed efficiently and reliably every day.
Quick Start
Install dbt and connect to TD
uv pip install dbt-core dbt-trino==1.9.3
Configure profiles.yml with your TD API key
Then, in your dbt project directory, run:
dbt debug dbt run
Dependency Matrix
Required Modules
dbt-coredbt-trino
Components
macros
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dbt Download link: https://github.com/treasure-data/td-skills/archive/main.zip#dbt Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.