Data Vault 2 Testing for dbt

•
22
•

Implements Data Vault 2 technical soft-constraint tests in dbt YAML configurations to validate raw vault integrity without dropping raw data.

The datavault4dbt Testing skill guides AI agents in establishing robust Data Vault 2.0 technical test suites within dbt projects. It provides pre-defined test matrices and YAML configurations for validating primary hashkey uniqueness, link-to-hub referential integrity, and satellite multi-column grain uniqueness across hubs, links, satellites, and multi-active structures. By enforcing soft constraints through dbt data tests rather than hard database constraints, it ensures complete auditability while preventing silent data loss.

Características Principales

01Validates Hub and Link hashkey uniqueness and not-null constraints
02Implements composite key uniqueness tests for historized Satellites
03Prevents orphaned link relationships and data grain regressions
04Configures dbt soft constraints for Data Vault 2.0 entities
05Enforces referential integrity across Link foreign keys and Hubs
0622 GitHub stars

Casos de Uso

01Reviewing and auditing existing Data Vault schemas for missing relationship tests
02Configuring multi-column grain validation for standard and multi-active satellites
03Adding standardized YAML data tests to newly generated datavault4dbt models