Skip to main content

Module validate_facts

Module validate_facts 

Source
Expand description

Validate that declared fact tables match database schema.

This command checks:

  • Declared fact tables exist in database
  • Metadata structure matches actual database schema
  • Warns about undeclared tf_* tables

Purpose: CI/CD validation step to catch schema drift.

Structs§

ValidationIssue
Validation error type.

Enums§

IssueSeverity
Issue severity level.

Functions§

run
Validate that declared fact tables match database schema.
validate_metadata_match
Validate metadata structure (basic validation)