Data Vault 2.0 with datavault4dbt

•
22
•

Builds and manages Data Vault 2.0 models in dbt using datavault4dbt macros, standard YAML metadata, and optimized materializations.

This skill guides the creation and maintenance of Data Vault 2.0 models within dbt projects using the official datavault4dbt package. It enforces a staging-driven architecture to compute hashkeys and hashdiffs upfront, enabling seamless generation of hubs, links, standard and multi-active satellites, Point-in-Time (PIT) tables, and business vault structures. It is ideal for data engineers building scalable enterprise data warehouses who need exact macro syntax, proper materialization configurations, multi-adapter support, and automated high-water mark optimizations.

主要功能

01YAML metadata macro generation for Data Vault 2.0 hubs, links, and satellites
02Point-In-Time (PIT) tables and snapshot control model generation
03Best-practice validation across 11 supported warehouse adapters
0422 GitHub stars
05Staging-driven hashkey and hashdiff computation with ghost record handling
06Support for advanced satellite variants including effectivity and multi-active satellites

使用场景

01Constructing PIT tables and business vault views for performant BI queries
02Building a new raw vault layer from flat source tables in a dbt project
03Creating multi-source hubs and links with static record source configurations