catincloudlabs
catincloudlabs
## What happens `ShadowRun.strip_run_hooks` (`transform/build.py:914-932`, at 7b149997) removes `on-run-start` and `on-run-end` from the copy's root `dbt_project.yml` only. dbt also runs the hooks that packages declare (read in dbt-core's `task/run.py`, 1.11.11...
## What happens Since #1348 (merged as 48634545), every `not_null`, `unique` and `relationships` test Dex renders carries `config: {meta: {disable_test_samples: true}}`, so Elementary keeps no sample of its failing rows....
## What this tracks Many dbt projects install the `elementary-data/elementary` package. Dex has no code that knows about it (`git grep -i elementary` on `main` at 7b149997 prints nothing), and...
## Why Installing Elementary does not decide what it does in a given run. These switches do, and they vary independently and per target: | Switch | What it controls...
## What happens `_model_yaml` (`transform/scaffold.py:536-557`, at 29c61e81) writes a staging model's tests as bare names: - `data_tests: [unique, not_null]` on a single-column candidate key - `data_tests: [not_null]` on each member...
## What happens #1348 leaves a test the column already lists exactly as written, matched by name (`_add_tests` and `_already_states` in `transform/declarations.py`). That is the right rule for a test...
## What happens `_rendered_columns` (`transform/declarations.py:1209-1252`, at 7b149997) renders three kinds of test from a declaration: `not_null` for `null_rule: never`, `unique` and `not_null` for a one-column grain, and `relationships` for a...
## Why The Elementary fixture (#1304) runs on DuckDB, and DuckDB can build only package 0.23.0 and later: earlier releases carry no `duckdb__` macros, and 0.16.4 fails `dbt build` in...
## What happens The Elementary fixture (#1304) has two test files, and both are opt-in: | File | Warehouse | Package releases | Needs | | --- | --- |...
## Why Every claim in the Elementary compatibility work was read in source and none was run. This issue adds the instrument that runs them: a fixture dbt project with...