/dbtvault

A free to use dbt package for creating and loading Data Vault 2.0 compliant Data Warehouses (powered by dbt, an open source data engineering tool, registered trademark of Fishtown Analytics)

Apache License 2.0Apache-2.0

Documentation Status Join our slack

Changelog and past doc versions

dbtvault by Datavault

Build your own Data Vault data warehouse! dbtvault is a free to use dbt package that generates & executes the ETL you need to run a Data Vault 2.0 Data Warehouse on a Snowflake database.

What does dbtvault offer?

  • productivity gains, fewer errors
  • multi-threaded execution of the generated SQL
  • your data modeller can generate most of the ETL code directly from their mapping metadata
  • your ETL developers can focus on the 5% of the SQL code that is different
  • dbt generates documentation and data flow diagrams

powered by dbt, a registered trademark of dbt Labs

Worked example project

Learn quickly with our worked example:

Currently supported databases:

Installation

Check dbt Hub for the latest installation instructions, or read the docs for more information on installing packages.

Usage

  1. Create a model for your table.
  2. Provide metadata
  3. Call the appropriate template macro
# Configure model
{{- config(...)                          -}}

# Set metadata
{%- set src_pk = ...                     -%}
...

# Call the macro
{{ dbtvault.hub(src_pk, src_nk, src_ldts,
                src_source, source_model) }}

Join our Slack Channel

Talk to our developers and other members of our growing community, get support and discuss anything related to dbtvault or Data Vault 2.0

Join our Slack

Contributing

View our contribution guidelines

License

Apache 2.0