Feature matrix¶
One-page reference: what runs where. For the readable tour of everything DataQ offers see Features; for the concepts behind the columns see Concepts and Datasources & checks.
Check kinds × datasources¶
| Check kind | Snowflake | Unity Catalog | ADLS Gen2 (files) | S3 (files)ˢ | Iceberg |
|---|---|---|---|---|---|
| GX expectations (column / table shape) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Snowflake DMF (native metric functions)ᵈ | ✅ | — | — | — | — |
| Custom SQL (rows returned = failures)ᶜ | ✅ | ✅ | — | — | — |
| Freshness monitor (hours since latest timestamp) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Freshness from file arrival time (no column — catches "no new file") | — | — | ✅ | ✅ | — |
| Volume monitor (row count in range) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Anomaly monitor (z-score vs a learned baseline)ᵃ | ✅ | ✅ | — | — | — |
| Schema-drift monitor (column add/drop/type-change vs a stored baseline)ᵇ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Comparison / reconciliation (diff vs a baseline connection) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Column profiler (nulls, distinct, min/max, top values) | ✅ | ✅ | ✅ | ✅ | ✅ |
| DQ dimension on checks + asset scorecard (coverage + score) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Dry-run preview | ✅ | ✅ | ✅ | ✅ | ✅ |
ᵃ Live-verified. The anomaly monitor learns a rolling mean/stddev of the
target's own row count or freshness age (optionally per weekday) and bands each
run's z-score through the usual warn/fail/critical thresholds; below its
min_points of history it reports skip, never a fabricated pass. Both target
metrics were run against live Snowflake and live Unity Catalog tables via the real
measure_metric path — a tick here is earned by an executed run against a live
datasource, never by a passing unit test. The dashes are a real restriction, not an omission: the
anomaly executor takes its own measurement over a live SQL connection, while
Iceberg and flat files compute their monitor scalars natively inside their
runners, which stateful kinds never reach.
ᵇ Schema drift (ADR 0012)
diffs a live column-name/type snapshot against a stored baseline and flags
add/drop/type-change. Unlike custom SQL it never goes through a CheckRunner/GX at
all, so it isn't gated to SQL datasources: introspection is per-datasource —
information_schema for Snowflake/Unity Catalog, the Parquet footer or a bounded
CSV header sample for ADLS/S3 flat files, and the loaded table's own metadata for
Iceberg (no data scan on any of them except the CSV sample). Re-baseline explicitly
once a drift is expected and reviewed.
ᶜ Unity Catalog custom SQL is supported since v1.1. It runs against a GX
Databricks-SQL batch over the target table. Since v1.2, ordinary catalog
expectations run on that same SQL batch by default — the warehouse evaluates and the
worker never materialises the table; the DataFrame batch remains for
expect_column_values_to_be_of_type, suites with a declared sample, and the
UC_SQL_PUSHDOWN=false rollback. Verified against a live
Unity Catalog table, including the operational-error path when a column will not
resolve. Custom SQL stays binary pass/fail on both SQL datasources (ADR 0019 §4 — a
row count is not a bandable metric), so metric_value is null by design, not by
omission.
ᵈ Snowflake DMF (ADR 0036) is the
first platform-native check engine — an alternative check.engine for four expectation
types (null count, null percent, duplicate count, unique count) that invokes Snowflake's
own SNOWFLAKE.CORE.* metric functions instead of a GX expectation. Engine is selected per
check, on a Snowflake connection only; kind stays expectation either way. Testing or
re-authenticating a Snowflake connection also probes DMF availability (Enterprise Edition +
grant) and stores the result on the connection — surfaced on the connection list and, as a caveat
rather than a hard gate, in the check editor's engine picker.
ˢ S3 means AWS S3 and any S3-compatible store — MinIO, Ceph/RadosGW, Cloudflare R2, Wasabi, Backblaze B2, SeaweedFS or an on-prem gateway. Set the connection's optional endpoint URL; every row in this column applies identically either way. See Datasources & checks.
Custom SQL runs a SQL query, so it's SQL-datasource only (Snowflake, Unity Catalog;
there is no flat-file support, and no issue currently tracks adding it — flat files get freshness/volume monitors instead (see the rows above);
Iceberg is not SQL-queryable — reads go through pyiceberg scans, not a query engine).
Comparison checks (ADR 0015)
diff the suite's dataset (the target under test) against a baseline on any other
datasource connection — cross-type and cross-env both supported — joined on key columns,
producing matched / mismatched / additional-per-side buckets with a mismatch-% metric,
capped fail-fast reads (COMPARISON_MAX_ROWS), redacted samples, and an on-demand
CSV/XLSX report download (derived, never stored). Either SQL side may use a read-only
query projection.
The freshness/volume monitors run on every datasource — the SQL datasources, Apache
Iceberg (computed natively via pyiceberg scans, not SQL; ADR 0012/0030), and ADLS Gen2 /
S3 flat files (over the resolved batch). On a flat file, a freshness monitor with no
timestamp column measures the object's arrival time instead — catching a producer that
stopped sending files, which a timestamp inside the data cannot see. Flat-file suites target a file or a batch pattern (e.g.
orders_*.csv) in CSV or Parquet; Iceberg suites target a namespace.table. Dry-run
preview works on every datasource with a runner — Snowflake, Unity Catalog, flat files,
and Iceberg.
Assets & lineage × datasources¶
Every datasource gets a first-class asset (identity = the OpenLineage dataset naming spec, ADR 0034); lineage edges are observed, never inferred, and can arrive through five mechanisms:
- Run-stamping — every suite run (and suite save) resolves its target to an asset row
and stamps
last_seen. Works on all datasources; unreferenced stale rows are retired by the daily orphan sweep. - dbt
manifest.json— table-level model lineage cached intolineage_edgeson every successful dbt build (details). dbt models warehouse tables, so raw flat files don't appear here. - OpenLineage emission (outbound) — DataQ broadcasts RunEvents + DQ facets per run to
any OL-compatible receiver (
OPENLINEAGE_URL, dark by default). - Catalog pull — the
LineageProviderseam pulls a governance catalog's graph back in assource='marquez'edges (daily beat, dark by default; details). - Warehouse-native pull — the
WarehouseLineageProviderseam reads the warehouse's OWN lineage views straight intolineage_edgeswithsource='snowflake'/'unity_catalog': SnowflakeOBJECT_DEPENDENCIES(all editions) →ACCESS_HISTORY/GET_LINEAGE(Enterprise); Unity Catalogsystem.access.table_lineage. First-hand, no dbt hop. Daily beat, dark by default (WAREHOUSE_LINEAGE_ENABLED— the views need a grant); the tier that answered and any degraded/failing state surface on the asset's lineage graph so a view-level-only or stale graph never reads as a confident complete one (details). Column grain: where the warehouse offers it (UCsystem.access.column_lineage— live-verified), the pull refines each table edge withupstream column → downstream columnpairs, shown on the asset page to every workspace member (ADR 0037 — column names are schema metadata, i.e. identity). Snowflake's column grain lives inACCESS_HISTORYandGET_LINEAGE(Enterprise) and reports honestly unavailable on Standard. Snowpark scratch is stitched, not dropped: a pipeline that materializes throughSNOWPARK_TEMP_*yields the realA → Bedge, with the scratch object never materialized as an asset.
| Datasource | Asset entity | ① Run-stamping | ② dbt manifest | ③ OL emission | ④ Catalog pull | ⑤ Warehouse-native |
|---|---|---|---|---|---|---|
| Snowflake | snowflake://{org}-{account} / DB.SCHEMA.TABLE |
✅ | ✅ (live-verified) | ✅ | ✅ | ✅ (OBJECT_DEPENDENCIES live; ACCESS_HISTORY + GET_LINEAGE per-seed traversal Enterprise, both + column grain, built on a live prod-Enterprise capture) |
| Unity Catalog | unitycatalog://{host} / catalog.schema.table |
✅ | ✅ (adapter-aware) | ✅ | ✅ | ✅ (system.access.table_lineage, incremental; + column grain, live-verified) |
| ADLS Gen2 (files) | abfss://{container}@{account}.dfs.core.windows.net / pattern base prefix |
✅ | — | ✅ | ✅ | — |
| S3 (files) | s3://{bucket} / base prefix |
✅ | — | ✅ | ✅ | — |
| Iceberg | {catalog_uri} / namespace.table |
✅ | —¹ | ✅ | ✅ | —³ |
| BI reports / dashboards | not yet materialized² | — | — | — | reserved² | — |
¹ dbt-managed Iceberg tables surface through the warehouse adapter (Snowflake/UC rows);
native pyiceberg connections have no dbt slice of their own.
³ Warehouse-native lineage reads a query engine's lineage view; a native pyiceberg
connection has no engine to ask (an engine-registered Iceberg table is covered under its
Snowflake/UC connection).
² The lineage graph's node-kind contract reserves bi_report/dashboard — a BI node
(e.g. a Power BI report downstream of a mart) becomes representable the moment a capable
catalog (Purview/DataHub) lands behind the seam plus an assets.kind column; no schema or
query rewrite needed.
Orchestration providers contribute no lineage of their own — ADF and Airflow are observed for pipeline runs only; dbt is the one orchestration provider that doubles as a lineage source (mechanism ②). Flat-file and Iceberg edges therefore depend on an external catalog knowing about them (mechanism ④).
Ways a suite runs¶
| Mode | Where | Notes |
|---|---|---|
| Run now | Suite detail → Run panel | Live per-check progress + cancel |
| Cron schedule | Suite detail → Schedules | 5-field cron, IANA timezone, DST-aware, no backfill |
| Pipeline trigger | Suite detail → Triggers | Runs on a pipeline/DAG/dbt-job success — ADF + Airflow + dbt, see Orchestration |
| API / MCP | POST /suites/{id}/run · trigger_suite_run MCP tool |
Same authz as the UI |
Severity & results¶
| Capability | Notes |
|---|---|
| Severity tiers | warn / fail / critical, banded from the observed unexpected-% (ADR 0005/0016) |
| Operational statuses | error (evaluation threw) and skip (precondition unmet) are distinct from failures |
| Health score | Severity-weighted, on the Dashboard |
| Failing-row samples | Redacted column-aware before display (suite column policy + classifier) |
| Run history retention | Samples purged after the retention window; metric trends kept |
Alerting¶
| Capability | Notes |
|---|---|
| Channels | Teams, Slack, email — each workspace default or per-suite override; reusable channels (incl. a generic webhook type) also exist, API-only currently — details |
| Threshold | Per suite: fail-only / warn+ (default) / always |
| Routing | Severity-aware urgency; critical escalates |
| Dedup | First failure / escalation only; clean run resets |
| Snooze | Per check, N hours |
Orchestration providers (not datasources)¶
| Provider | Failure detection | Trigger on success |
|---|---|---|
| Azure Data Factory | Azure Monitor alert → webhook (+10-min poll) | ✅ trigger bindings |
| Apache Airflow | DAG callback → HMAC webhook (+10-min poll) | ✅ trigger bindings |
| dbt | Post-build callback → HMAC webhook (+10-min run_results.json artifact poll) |
✅ trigger bindings |
Managed Airflow distributions¶
The Airflow provider talks to the stock Airflow REST API and is not coupled to any
particular host, so managed distributions work through the same connection type. Set
base_url to the deployment's Airflow endpoint and supply the platform's API token as the
credential (auth_type: token, the default — sent as Authorization: Bearer …).
| Distribution | Expected to work | Status |
|---|---|---|
| Self-hosted / OSS Airflow | ✅ | Verified against a self-hosted Airflow |
| Astronomer (Astro) | ✅ via an Astro Deployment API token as the Bearer credential, with base_url set to the deployment's Airflow URL (https://<org>.astronomer.run/<deployment-id>) |
Untested — no Astro deployment has been exercised; compatible by construction, not by observation |
| MWAA / Cloud Composer | Likely, same Bearer shape | Untested |
The DAG-callback snippet in integrations/airflow/ is
host-agnostic — it POSTs an HMAC-signed event to DataQ and needs only outbound network
access from the worker, so it applies unchanged on a managed deployment.
If you run DataQ against a managed distribution, please report back — the honest status above is "should work", and only a real deployment can upgrade that to "does".
Access — workspace roles × capabilities¶
Two orthogonal axes (ADR 0033). Your workspace
role says what kind of user you are; per-suite grants (view / edit) say what you
may touch. Neither replaces the other — a Member with no share on a suite still cannot see
it. Both are enforced server-side on REST and MCP, and both resolve per request, so
a role change takes effect on the target's next call, including calls made with API tokens
they already hold.
| Capability | Admin | Member | Viewer |
|---|---|---|---|
| See/use suites shared to them | ✅ | ✅ | ✅ (view only) |
| Create/import suites (become owner) | ✅ | ✅ | ❌ |
Receive edit shares |
✅ | ✅ | ❌ — capped at view |
| Connections: create / edit / delete / re-auth | ✅ | ❌ | ❌ |
| Connections: list & reference in suites | ✅ | ✅ | list only |
| Connections: test (saved) | ✅ | ✅ | ❌ |
| Connections: test (unsaved draft) | ✅ | ❌ | ❌ |
| Mint API tokens (inherit the user's access) | ✅ | ✅ | ✅ |
/admin, implicit suite-admin, workspace-wide visibility |
✅ | ❌ | ❌ |
| Manage roles in-app | ✅ | ❌ | ❌ |
Roles are managed in Admin → Members. WORKSPACE_ADMIN_EMAILS remains a bootstrap
seed and lockout break-glass: it grants Admin but never removes it, and a role change must
always leave at least one stored-role admin. See security for the residual
risk that carries.
Interfaces¶
| Surface | What |
|---|---|
| Web UI | Dashboard · Assets · Connections · Suites · Results · Profile · Admin · Settings (Assets lead as the primary lens — ADR 0034 nav inversion; the Dashboard opens with an asset-health strip, and suites/runs link back to their asset) |
| REST API | Versioned /api/v1 (Swagger in non-prod) |
| MCP | 48 curated tools at /mcp for AI assistants (ADR 0008). Served in both auth modes — SSO and email OTP; under OTP the credential is a PAT only (MCP setup) |