troubleshooting-datavault4dbt

Solid

Diagnoses common datavault4dbt failures — satellites capturing too many or too few rows, multi-source high-water-mark issues, ghost-record/datatype errors, and YAML-metadata compile errors. Use when a datavault4dbt model errors on compile or run, a satellite detects the wrong number of changes, or a hub/link/satellite loads nothing or duplicates.

Data & Documents 22 stars 0 forks Updated 2 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 85/100

Stars 20%
45
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Troubleshooting datavault4dbt Diagnose datavault4dbt models by symptom. The package generates the SQL, so most issues trace back to the **staging metadata** (hashkeys/hashdiffs), the **YAML parameters**, or **incremental/HWM** behavior. ## First moves 1. `dbt compile --select <model>` and read the generated SQL in `target/` — it shows exactly what the macro produced. 2. Enable verbose package logs: set `datavault4dbt.show_debug_logs: true` in `vars:` and re-run, then read the dbt `.log` file. 3. Inspect the staging output (`dbt show --select <stage_model> --limit 20`) — most raw-vault problems originate one layer up, in staging. ## Symptom → cause → fix ### Satellite captures too many rows (a new record every load) - **Payload doesn't match the hashdiff inputs.** The satellite's `src_payload` must be exactly the columns fed into its hashdiff in staging. If they differ, change detection misfires. - **Trimming / case mismatch.** Untrimmed whitespace or case differences in descriptor values change the hashdiff each load. Check `hashdiff_use_trim` and `hashdiff_input_case_sensitive`. - **A volatile column is in the hashdiff** (e.g. a load timestamp or surrogate). Remove it from the hashdiff inputs. ### Satellite captures too few rows / misses changes - A changing attribute is **not** in the hashdiff inputs, so the change is invisible. Add it (and to `src_payload`). - For a single-attribute satellite, confirm you omitted `src_hashdiff` so change detectio...

Details

Author
ScalefreeCOM
Repository
ScalefreeCOM/datavault4dbt-agent-skills
Created
2 months ago
Last Updated
2 weeks ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category