dbt-labs / dbt-adapters

Apache License 2.0
17 stars 20 forks source link

dbt logo

dbt-tests-adapter

This package is responsible for:

There are two major adapter types: base and sql

Directories

base

Defines the base implementation Adapters can use to build out full functionality.

sql

Defines a sql implementation for adapters that initially inherits the base implementation and comes with some pre-made methods and macros that can be overwritten as needed per adapter. (most common type of adapter.)

Files

cache.py

Cached information from the database.

factory.py

Defines how we generate adapter objects

protocol.py

Defines various interfaces for various adapter objects. Helps mypy correctly resolve methods.

reference_keys.py

Configures naming scheme for cache elements to be universal.