# dbt_f2dq (`f2dq`) Modernized fork of [re_data](https://github.com/re-data/re-data) for fast2.dev Data Quality (f2dq). - **dbt package name:** `f2dq` (what `dbt_project.yml` / `detect_namespace()` use) - **Hub-style identity:** `dbt_f2dq` - **Version:** `1.0.0` - **Requires:** dbt-core `>=1.0,<2.0`, `dbt_utils==1.4.1` ## Install (git — recommended) ```yaml packages: - git: "https://gitea.m7xlab.top/fast2dev/dbt-f2dq.git" revision: v1.0.0 ``` Then: ```bash dbt deps ``` Pin a release tag in production; use `main` only if you want floating tip. ## Install (local path — active development) Prefer a local path while editing the package itself: ```yaml packages: - local: /path/to/dbt_f2dq ``` ## Dual-read (migration) Node config keys accept either prefix: - `+f2dq_monitored` / `+re_data_monitored` - `+f2dq_time_filter` / `+re_data_time_filter` - (same for metrics, columns, anomaly_detector, owners) Vars: `f2dq:` preferred; boolean enable flags also honour `re_data:` (`store_table_samples`, `save_test_history`, etc.) via `f2dq.f2dq_var()`. ## Artefacts Exports default to `target/f2dq/*.json` (`overview`, `monitored`, `alerts`, `tests_history`, `table_samples`). Enable samples + test history: ```yaml vars: f2dq:store_table_samples: true f2dq:save_test_history: true ``` ## Repository - Public clone URL: `https://gitea.m7xlab.top/fast2dev/dbt-f2dq.git` - SSH (when port 22 is reachable): `git@gitea.m7xlab.top:fast2dev/dbt-f2dq.git`