Skip to main content

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/*

Metadata

Release files for in-dbt-adapters 1.14.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for in-dbt-adapters 1.14.10
File Size Uploaded
in_dbt_adapters-1.14.10.tar.gz 135.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for in-dbt-adapters 1.14.10
File Interpreter ABI Platform
in_dbt_adapters-1.14.10-py3-none-any.whl Python 3 none any Details

Total release size: 308.4 kB

Release files / in_dbt_adapters-1.14.10.tar.gz

Download URL in_dbt_adapters-1.14.10.tar.gz
Size 135.1 kB
Tags Source
SHA-256 checksum
How to use checksums
74effb94b4bdc7baf248bd8b976f63fac27fba03a9bdd176c5f9b0bf33c7ced2
BLAKE2b-256 checksum
How to use checksums
de9f8c847cb34590189544be42978328d0dd080ba0d9a7ed7a125f94f553d2b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / in_dbt_adapters-1.14.10-py3-none-any.whl

Download URL in_dbt_adapters-1.14.10-py3-none-any.whl
Size 173.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
487e6360694338cbd34da8900461d5e480bd5e75dc8675944779f9fb95c09189
BLAKE2b-256 checksum
How to use checksums
d185c6e409357978781bdb72833ffe28fcc1823e2c1fa676be5c0ccf07e2d9ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

1.14.10 This release

2 release files

1.14.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page