Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
61 lines
1.5 KiB
Markdown
61 lines
1.5 KiB
Markdown
# 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:** `0.12.1`
|
|
- **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: main # or a tag like v0.12.1
|
|
```
|
|
|
|
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:<name>` preferred; boolean enable flags also honour `re_data:<name>`
|
|
(`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`
|