Skip to content

Feature: Add support for Trino and conn_type="trino" #159

@whitepowder

Description

@whitepowder

Hey!

Checklist
• Switching to airflow-dbt-python version 3.0.3 from 2.2.0
• I tried configuring a Trino connection using dbt_conn_id=CONN_ID (instead of target=)
• I verified that the same connection works with the older version (2.2.0)
• I reviewed the docs and inspected DbtConnectionHook subclasses

However, I get the following error at runtime:

    raise KeyError(
KeyError: 'There are no DbtConnectionHook subclasses with conn_type=trino'
[2025-08-06, 10:53:39 UTC] {taskinstance.py:3310} ERROR - Task failed with exception

Looking at the source (airflow_dbt_python/hooks/target.py), I only see spark, bigquery, snowflake, redshift, postgres but no DbtTrinoHook or support for conn_type="trino".

Does airflow-dbt-python currently support trino connections via Airflow’s dbt_conn_id= connection?
If not, can this support be added in future versions?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions