dbt-adapters

The set of adapter protocols and base functionality that supports integration with dbt-core

82 个版本 Python >=3.10.0
安装
pip install dbt-adapters
poetry add dbt-adapters
pipenv install dbt-adapters
conda install dbt-adapters
描述

dbt logo

Adapters

There are two major adapter types: base and sql.

base

BaseAdapter defines the base functionality an adapter is required to implement in order to function with dbt-core. There are several methods which have default implementations as well as methods that require the concrete adapter to implement them.

sql

SQLAdapter inherits from BaseAdapter, updates default implementations to work with SQL-based platforms, and defines additional required methods to support those defaults.

Components

An adapter is composed of several components.

  • connections
  • dialect
  • relation caching
  • integration with dbt-core

The first two are platform-specific and require significant implementation in a concrete adapter. The last two are largely implemented in dbt-adapters with minor adjustments in a concrete adapter.

Connections

This component is responsible for creating and managing connections to storage and compute.

Files

  • dbt/adapters/{base|sql}/connections.py

Dialect

This component is responsible for translating a request from dbt-core into a specific set of actions on the platform.

Files

  • dbt/adapters/base/column.py
  • dbt/adapters/base/query_headers.py
  • dbt/adapters/base/relation.py
  • dbt/adapters/relation_configs/*
  • dbt/adapters/clients/jinja.py
  • dbt/include/global_project/*

Relation caching

This component is responsible for managing a local cache of relations, relation metadata, and dependencies between relations.

Files

  • dbt/adapters/cache.py

Integration with dbt-core

This component is responsible for managing the interface between dbt-core and a concrete adapter.

Files

  • dbt/adapters/{base|sql}/impl.py
  • dbt/adapters/base/meta.py
  • dbt/adapters/base/plugin.py
  • dbt/adapters/capability.py
  • dbt/adapters/factory.py
  • dbt/adapters/protocol.py
  • dbt/adapters/contracts/*
  • dbt/adapters/events/*
  • dbt/adapters/exceptions/*
版本列表
1.24.2 2026-05-21
1.24.1 2026-05-19
1.24.0 2026-05-13
1.23.0 2026-05-07
1.22.10 2026-03-30
1.22.9 2026-03-16
1.22.8 2026-03-05
1.22.7 2026-03-03
1.22.6 2026-02-17
1.22.5 2026-01-14
1.22.4 2026-01-08
1.22.3 2026-01-07
1.22.2 2025-12-19
1.22.1 2025-12-17
1.22.0 2025-12-09
1.21.0 2025-12-08
1.20.1 2025-11-21
1.20.0 2025-11-18
1.19.0 2025-11-07
1.18.0 2025-11-04
1.17.3 2025-10-20
1.17.2 2025-10-02
1.17.1 2025-10-01
1.17.0 2025-09-29
1.16.7 2025-09-11
1.16.6 2025-09-03
1.16.5 2025-08-19
1.16.4 2025-08-15
1.16.3 2025-07-21
1.16.2 2025-07-16
1.16.1 2025-07-10
1.16.0 2025-06-04
1.15.3 2025-05-20
1.15.2 2025-05-19
1.15.1 2025-05-19
1.15 2025-05-19
1.14.8 2025-04-25
1.14.7 2025-04-24
1.14.6 2025-04-14
1.14.5 2025-04-07
1.14.4 2025-03-31
1.14.3 2025-03-19
1.14.1 2025-03-04
1.14.0 2025-02-07
1.13.2 2025-01-22
1.13.1 2025-01-10
1.13.0 2024-12-19
1.12.0 2024-12-18
1.11.0 2024-11-12
1.10.4 2024-12-05
1.10.3 2024-11-25
1.10.2 2024-11-23
1.10.1 2024-11-20
1.10.0 2024-11-19
1.9.0 2024-11-13
1.8.0 2024-10-29
1.7.2 2024-10-24
1.7.0 2024-09-19
1.6.1 2024-09-16
1.6.0 2024-09-12
1.5.0 2024-09-10
1.4.1 2024-08-09
1.4.0 2024-07-30
1.3.3 2024-07-09
1.3.2 2024-07-02
1.3.1 2024-06-20
1.3.0 2024-06-18
1.2.1 2024-05-21
1.1.1 2024-05-07
1.1.0 2024-05-01
1.1.0rc2 2024-04-29
1.1.0rc1 2024-04-17
1.0.0 2024-04-01
1.0.8b3 2024-04-16
1.0.0b2 2024-03-26
1.0.0b1 2024-02-27
0.1.0a6 2024-01-29
0.1.0a5 2024-01-25
0.1.0a4 2024-01-22
0.1.0a3 2024-01-18
0.1.0a2 2024-01-18
0.1.0a1 2024-01-17