# dbt Parity Harnesses

This directory holds product-keyed validation scripts that compare Databend dbt outputs to the
legacy BigQuery models during migration.

These scripts are not dbt engine code and are outside `model-paths`; they may contain product
table names, field lists, source comparison targets, and issue-specific parity scope. Generic dbt
adapter macros and reusable engine behavior stay under `transform/dbt/engine/`.

Harnesses:

- `salesforce_order_daily_view.py` compares the full rolling-window daily-view output for fields
  consumed by `monthly_cloud_billing_revrec`.
- `salesforce_org_monthly_revrec.py` compares the billing input at `(billing_month, _row)` and
  reports the non-unique documented grain separately.

The final `monthly_cloud_billing_revrec` output-level harness lives under
`transform/python/parity/`, because the Python job is a downstream transform/python producer rather
than dbt model code.
