Skip to main content

Release for LinkedIn's changes to dbt-adapter.The set of adapter protocols and base functionality that supports integration with dbt-core

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

in_dbt_adapters-1.14.9.tar.gz (134.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

in_dbt_adapters-1.14.9-py3-none-any.whl (173.2 kB view details)

Uploaded Python 3

File details

Details for the file in_dbt_adapters-1.14.9.tar.gz.

File metadata

  • Download URL: in_dbt_adapters-1.14.9.tar.gz
  • Upload date:
  • Size: 134.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for in_dbt_adapters-1.14.9.tar.gz
Algorithm Hash digest
SHA256 654f8b84b54140276c6e60d51487c7b52796c0975ed27533a1fb5ee741cdb19f
MD5 7ef46934c6ed98d1c43d432a9ce8e9b3
BLAKE2b-256 509311bc4fd33f70f542bf263bdacae6c1584038ecf10ebb9ef9efe8dc0dde5b

See more details on using hashes here.

File details

Details for the file in_dbt_adapters-1.14.9-py3-none-any.whl.

File metadata

File hashes

Hashes for in_dbt_adapters-1.14.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bf569f5b99a8c7735e02da948f1008f98b32d0478ce9070f5cd295e74849a9a5
MD5 9c40c43dd3f0dfa322d691874a7c80ef
BLAKE2b-256 474fc0c16fa4e2001d137d93baec6e68c0408af9ddbbfcd5ced39b8b96c881fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page