The set of adapter protocols and base functionality that supports integration with dbt-core
Project description
    
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/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
    Details for the file dbt_adapters-1.17.3.tar.gz.
  
File metadata
- Download URL: dbt_adapters-1.17.3.tar.gz
- Upload date:
- Size: 133.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 8f3c2ea081444033ed3146aea85c21175f868c1f2dd262e7caab19f78bcf25cc | |
| MD5 | 7f3a63fecdb486251ccd2b772ceca2c4 | |
| BLAKE2b-256 | 88d95d585d39d657e191af8f4fd30a5e1b3cc2b7182493ceaa75c94c9bc50909 | 
Provenance
    The following attestation bundles were made for dbt_adapters-1.17.3.tar.gz:
  
      Publisher: 
      
      publish-oss.yml on dbt-labs/dbt-adapters
    
  
- 
              Statement:
              - 
                  Statement type: https://in-toto.io/Statement/v1
- 
                  Predicate type: https://docs.pypi.org/attestations/publish/v1
- 
                  Subject name: dbt_adapters-1.17.3.tar.gz
- 
                  Subject digest: 8f3c2ea081444033ed3146aea85c21175f868c1f2dd262e7caab19f78bcf25cc
- Sigstore transparency entry: 623267935
- Sigstore integration time:
 - 
                    Permalink: 
                    dbt-labs/dbt-adapters@ee910c330d13a2178bad8330511185a5911f2051
- 
                  Branch / Tag: 
                  refs/heads/main
- Owner: https://github.com/dbt-labs
- 
                Access: public
 - 
              Token Issuer: https://token.actions.githubusercontent.com
- 
                Runner Environment: github-hosted
- 
                Publication workflow:
                
                  publish-oss.yml@ee910c330d13a2178bad8330511185a5911f2051
- 
                Trigger Event: workflow_dispatch
 
- 
                  Statement type: 
File details
    Details for the file dbt_adapters-1.17.3-py3-none-any.whl.
  
File metadata
- Download URL: dbt_adapters-1.17.3-py3-none-any.whl
- Upload date:
- Size: 170.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 7421f13edbb90e29c114cf14bda6b9c29d708b34a3c912f6668dd4414b0650e4 | |
| MD5 | 8ac299b4db0fa73cd88d989fb472d06e | |
| BLAKE2b-256 | 92efc6dc3f066cdd6e2cb6a3a645704eddde0ec240e2a4feb1c499824d35884e | 
Provenance
    The following attestation bundles were made for dbt_adapters-1.17.3-py3-none-any.whl:
  
      Publisher: 
      
      publish-oss.yml on dbt-labs/dbt-adapters
    
  
- 
              Statement:
              - 
                  Statement type: https://in-toto.io/Statement/v1
- 
                  Predicate type: https://docs.pypi.org/attestations/publish/v1
- 
                  Subject name: dbt_adapters-1.17.3-py3-none-any.whl
- 
                  Subject digest: 7421f13edbb90e29c114cf14bda6b9c29d708b34a3c912f6668dd4414b0650e4
- Sigstore transparency entry: 623267939
- Sigstore integration time:
 - 
                    Permalink: 
                    dbt-labs/dbt-adapters@ee910c330d13a2178bad8330511185a5911f2051
- 
                  Branch / Tag: 
                  refs/heads/main
- Owner: https://github.com/dbt-labs
- 
                Access: public
 - 
              Token Issuer: https://token.actions.githubusercontent.com
- 
                Runner Environment: github-hosted
- 
                Publication workflow:
                
                  publish-oss.yml@ee910c330d13a2178bad8330511185a5911f2051
- 
                Trigger Event: workflow_dispatch
 
- 
                  Statement type: