Overview
Use Data Quality to understand what is in a dataset, check rows while a flow loads them, verify batches and committed destinations, and monitor tables over time. An orders flow can quarantine orders with invalid email addresses, a pipeline can stop a duplicate batch before publication, and a reconciliation check can spot a changed amount even when the source and destination row counts match.
This guide is the canonical reference for the built-in Data Quality workflows, available in Etlworks 10.1.3 and newer. It uses a PostgreSQL orders table as the running example. For scripted, code-based validation inside a transformation, see Output and data-quality transformations — the two approaches can be combined.
Watch on YouTube → — Data Quality in Etlworks walkthrough.
Contents
- Where each check runs
- Profile a dataset in Explorer
- Add row checks and reusable policies
- Quarantine and replay a rejected record
- Gate a batch before publication
- Reconcile a committed destination
- Monitor data and investigate incidents
- Worked examples: real-life configurations
- Supported flows and connectors
- Integration Agent requirements
- Move configurations between environments
- Automate with the built-in CLI
Where each check runs
| Goal | Where to start | What it tells you |
|---|---|---|
| Understand a table or file | Explorer → Profile | What was observed in a bounded read, plus changes from a saved baseline |
| Validate rows during a load | Transformation → Data Quality | Which incoming rows passed or failed and how the flow handled failures |
| Fix and replay a rejected row | Insights → Data Quality → Executions | Why a row was quarantined and whether its correction was replayed |
| Stop a bad batch before publication | A sequential Data Quality or Data Quality for dbt step | Whether the next stage can run, based on the configured gate |
| Confirm what reached a destination | Inline reconciliation on the transformation, or a standalone Reconciliation flow | Whether counts, totals, or keyed records agree |
| Watch a table over time | Insights → Data Quality → Monitors | Score, coverage, anomalies, and incidents |
Profile a dataset in Explorer
- In Explorer, right-click a supported table, view, or flat file and select Profile (the View Data toolbar also opens the profiler). In Columns to profile, select up to 32 columns; an empty selection uses the first 32.
- Choose Preview up to 1,000 rows or Scan up to 20,000 rows. The profile shows rows read, nulls, blanks, numeric and boolean counts, and text-length buckets, with a filter over the results. The scan reads the first available rows through Explorer: a bounded preview describes the rows it read, not the whole table, and a capped scan can still have source query or file-access costs.
- Click Rescan and save baseline. After a source change, repeat the same scan and compare the null-or-blank rates against the baseline. Use Rescan and replace baseline when you need a new reference point. The baseline is aggregate data scoped to the user, tenant, dataset, selected columns, and scan size — no row data is stored.
- Use Choose policy to preview a pinned policy revision against the same rows. Preview evaluates the checks without applying the flow's skip, stop, or quarantine action, and reads the source without writing to any destination. Edit suggested checks may offer Required value when a column has at least 20 observed values with no nulls or blanks — review the proposal and publish it as a named policy in one step.
Add row checks and reusable policies
Inline checks on a transformation
- Open the flow, edit its flat transformation, and select Data Quality in the mapping editor. Use Add check on the source column contact_email and add Required value and Format → Email address. A check name left blank is generated for the run report. If a column is missing from the picker, type its exact source name and select it. Start with Report only. Click Apply to mapping, return to the flow, and Save.
- Available checks: required value, data type, email and UUID formats, numeric range, text length, allowed values, regular expressions, and comparison between two source fields. Checks can have conditions — a rule can run only when another source field meets a condition. Required value checks nulls and blanks; the other rules skip null and blank values. A missing configured field is reported as unavailable in report mode and can stop enforcement. The input a check sees is the source row as presented to the mapper. Custom patterns use RE2 syntax; a pattern with too much expanded repetition is rejected when the policy is validated.
- Optional Column profiling records column summaries (present, blank, null and unavailable counts, with minimum and maximum text lengths) during the same run and can be enabled on its own, without checks. A mapping supports up to 32 rules and 32 profile fields. To remove everything, use Clear Data Quality and save the flow again.
When a check fails
- Report only records failures and lets rows through.
- Skip failing rows omits them from the load.
- Stop on first failure fails the transformation — and can leave earlier committed writes in place.
- Send failing rows to quarantine durably saves a reject before skipping it, on eligible paths (see quarantine).
Important: skipping a row can advance an incremental cursor (such as a high watermark) past it — a skipped row is not retried on the next run.
Reusable shared policies
- For a reusable rule set, open Settings → Data Quality in the active account and publish a named policy revision — or start from a profile's Edit suggested checks.
- In the mapping, choose Shared policy, select a revision, bind the policy fields to source columns (differently named columns can be remapped), optionally override the failure action, click Apply policy to mapping, and save the flow. A mapping uses either inline rules or one pinned shared policy. Publishing a new revision leaves existing assignments on their selected revision until an editor updates them. For a wildcard mapping, each expanded table uses the mapping's policy and source bindings.
- Account administrators can use Share with all tenants in the main account (future revisions of a shared policy are also shared; earlier private revisions stay private), and Publish tenant override in a tenant — the override takes the global policy's place for new assignments in that tenant. Tenants can also publish independent policies.
Read the results
Open the run's Statistics → Data Quality, or Insights → Data Quality → Executions (recorded executions appear newest first; filter by Flow and Execution, or expand an execution ID to see its checks). The results show rows seen, checked, failed, skipped or quarantined, per-rule coverage, the policy name and revision when one was used, and the selected field profiles. For a running Kafka or CDC flow, open View running tasks in the execution details to see the latest checkpoint. Definitions matter when reading a score: inline row pass rates measure checked rows, while monitor scores measure evaluated checks. A run with no recorded quality results shows only its ordinary metrics. Policy publications, Explorer profile requests, and the policy revisions resolved during execution are recorded in the audit trail.
Quarantine and replay a rejected record
-
Create a dedicated PostgreSQL quarantine table (quarantine storage is PostgreSQL even when the ETL destination is elsewhere). Select its connection under the flow's Connections → Quarantine, choose Send failing rows to quarantine, and enter the lowercase schema.table. The engine uses the existing table — it never creates or truncates it. The writing login needs schema usage plus SELECT and INSERT on it. Quarantined payloads contain source data, so keep the table's access policy and retention as strict as the source's.
CREATE SCHEMA IF NOT EXISTS dq_example; CREATE TABLE dq_example.rejected_orders ( reject_id text PRIMARY KEY, flow_id text, execution_id text, source text, operation text, reasons jsonb NOT NULL, payload jsonb NOT NULL, replayed_at timestamptz, replayed_by text );On a table that grows large, an index in flow, execution, and reject order helps the review screen page records efficiently:
CREATE INDEX IF NOT EXISTS rejected_orders_replay_run_idx ON dq_example.rejected_orders (flow_id, execution_id, reject_id); - To enable operator replay on an eligible saved mapping, define Replay destination table and Replay columns and save. Use a separate recovery table in the same PostgreSQL database — the app must be able to connect to it directly. Grant rights to read the quarantine table, update the replay audit columns (replayed_at, replayed_by), and insert into the recovery table. In Replay columns, enter each source payload key and lowercase destination column on its own line, with the key exactly as stored, including case: a payload key of CONTACT_EMAIL maps to the contact_email column as CONTACT_EMAIL = contact_email.
- Run the flow with a missing email and an invalid email. With 32 incoming orders, the walkthrough shows 30 accepted and two quarantined. Go to Insights → Data Quality → Executions, expand the run, choose Review quarantined records, open a record, correct the JSON, confirm the displayed destination, and click Replay corrected record. The app revalidates the correction against the current policy, inserts the configured fields once into the recovery table, and commits the replay marker (operator and timestamp) together with that insert. A retry for the same reject returns its replayed status instead of inserting twice. The original payload and failure reasons remain available for audit. A downstream flow can pick the recovered rows up for further processing.
- Operational limits:
- Test Transformation reports failures without saving quarantine rows.
- Each serialized reject has a 4 MiB limit, and a failed quarantine write stops processing before the reject is counted as successfully quarantined.
- Batch retries can capture the same reject again. Kafka with manual offset handling deduplicates a retried message within the same flow and mapping (by topic, partition, offset and record timestamp). CDC acknowledgment, destination writes, and quarantine writes have separate boundaries — a reject is saved durably before its source position becomes eligible for acknowledgment, and a restart from the last checkpoint can retry a row — so use idempotent destination actions (such as MERGE) where applicable.
- The operator needs access to run and edit the flow and edit rights on its Quarantine connection; review is scoped to the selected flow and execution. Changing replay settings while a record is open requires reopening it before replay.
Gate a batch before publication
Create a Data Quality flow (Flows → Create, search for "Data Quality"), select a connection under Connections, and pick a check under Parameters. Each gate is one sequential step; add a separate step per check. Exact configuration per check:
| Check | What to configure | What is evaluated |
|---|---|---|
| Schema contract | Table and required columns, one per line. Optionally add a type as order_id = BIGINT and select Reject extra columns. | Column names and optional type names from the table's current shape. It does not compare length, precision, nullability, or keys. |
| Unique key | Table and comma-separated key columns | Duplicate key groups. All rows participate, including duplicate NULL keys. |
| Reference check | Table, key columns, reference table and corresponding columns | Rows with non-null keys that have no match. Both tables must be visible through the same connection. Add a separate required-value check if keys must not be NULL. |
| Freshness | Table, timestamp column, and maximum age in seconds | Age of the latest timestamp. Timestamps without a zone are read as UTC. An empty table or all-NULL column fails the check. |
| Row count / Expected rows | Table and an inclusive minimum, maximum, or both; Expected rows takes only the table | Number of rows; Expected rows requires at least one row — run it on each required staging input. |
| Control total | Table, numeric column, and inclusive bounds | Database-calculated sum. An empty or all-NULL input fails the check. |
| Custom SQL | One SELECT returning one non-null numeric value, and inclusive bounds | Runs on a separate session with a read-only login and reads committed data. The gate fails if it detects a pending transaction or cannot verify that a tracked manual-commit session is idle. |
| Data Quality for dbt | A saved Execute dbt Project or Execute dbt Platform flow | The dbt flow must have run successfully once as an earlier sibling step in the same pipeline invocation and produced normalized results. Warnings, skipped resources, failed resources, or missing results fail the gate. |
Place the gate before a load to check materialized inputs, between staging and publication to check a batch, or after a committed load to report on what readers can see. A gate before publication protects the live table; a gate after publication reports on data that is already committed. The gate's outcome appears in the run hierarchy and its detail in the execution console — counts, bounds, or contract failures, without retaining offending rows. Larger checks run on the database: use a per-batch staging table or a partition-scoped custom query to bound the scan, and note each JDBC gate requests a statement timeout (60 seconds by default). If a gate's Custom SQL needs the output of a preceding database step, enable Commit destination changes after this step on that step.
Reconcile a committed destination
Inside a database load
- Set the flow-level reconciliation default, or open Transformation → Data Quality and override the mode, scope, and outcome per transformation. Start with Report only. Choose Counts and totals (row count plus optional numeric control totals) or Exact keyed comparison (missing rows and changed values). Select the destination key and compared columns; when the key selection is blank, a usable source primary key that maps directly to the destination can supply it.
- Choose the comparison scope. Loaded batch suits incremental High Watermark ETL: it matches keys captured from the rows the current run prepared, does not reread the source window, and leaves historical destination rows outside the comparison. Multiple transformations and wildcard expansions report by resolved source and destination table — when several reconciliation mappings write the same table at one commit, use Loaded batch to check each separately. Full destination table suits a transformation that accounts for the entire expected table, and can also find extra destination rows; multiple full-table checks against a shared target at one commit can report as unavailable.
- Fail the run is enforcement after the load commits: committed rows stay in place. With the default metrics behavior, a High Watermark stored in execution metrics advances past the committed batch even when reconciliation fails. With Save metrics only on success, a reconciliation failure keeps the earlier checkpoint, so the next run reads the same batch again — and an append-only flow can then write duplicates. The app warns on save about this combination; use a keyed merge or another idempotent action when the batch must be retryable.
- A comparison can also end Unavailable, alongside passed and failed. Missing, duplicate, or null keys, resource limits, and expired checks prevent comparison. Index the destination key columns where supported. Default limits: 1,000,000 rows per keyed check per side, 60 seconds per query, 300 seconds per table comparison (five times the query timeout, capped at 300 seconds unless the single-query timeout is higher), and 512 MiB shared by pending snapshots in the transaction scope; comparison index files can use additional disk space. Keys and projected values have a 64 KiB encoded limit per row. Warehouse keyed comparisons use one bound destination query when the key set fits; a larger key set triggers one bounded destination scan that can read — and incur charges for — rows outside the batch.
Compare two tables independently
Create a standalone Reconciliation flow (under Automation and Orchestration) for two PostgreSQL or Aurora PostgreSQL tables — the two sides can use the same connection:
- In Connections, select the source and destination connections. In Parameters, enter the two tables.
- Counts and totals compares row counts and optional numeric totals — one total column per line; map differently named columns as net_amount = order_total.
- To compare one batch, enter a common Batch or partition value and its column on each side, and optionally a shared exclusive Cutoff with its time column on each side (PostgreSQL timestamptz, ISO timestamp with offset). Both accept flow parameters such as {batch_id} and {cutoff}.
- Exact keyed comparison requires a batch or partition and matching unique, non-null keys — enter composite key fields in order, one per line, plus the value columns to compare. Exact reports distinguish rows missing from the destination, extra destination rows, changed rows, and changed values per mapped column.
- By default all differences fail the step (Fail on differences above tolerances); clear it to report differences and continue. Invalid configuration, SQL errors, duplicate or null keys, and scope limits still fail the step.
When both tables use the same connection they are read in one repeatable-read snapshot; separate connections have independent snapshots — reconcile batches that have finished changing, or use a cutoff that identifies the same immutable slice on both sides. The flow runs on its own or as a sequential Composer or Nested Flow step; commit a preceding database-writing step when reconciliation must read its output from a separate connection.
Monitor data and investigate incidents
- Start from Explorer → Profile → Create monitor (the connection and table are preselected) or Insights → Data Quality → Monitors → Create monitor. Choose a PostgreSQL or Aurora PostgreSQL table and a timestamp with time zone column that leads a valid, non-partial B-tree index (a partitioned table can use the corresponding valid parent index). The table can be loaded by another system entirely. Configure the lookback, freshness, row bounds, completed UTC day coverage, profile columns, an optional pinned policy, and the scan budget. Defaults: 48 hours, 5,000 rows, 20 seconds; maxima: 744 hours, 20,000 rows, 60 seconds. The default profile uses the first eight available columns; profile and policy combined can use up to 32, and the whole-table schema snapshot covers up to 256 columns. Run once, then use Create schedule in the scorecard for ongoing checks (ordinary timer or cron).
- Use the rolling lookback for tables that receive updates or late data. Profile only new time windows uses a checkpoint for append-only data, with a late-arrival allowance (default five minutes — set it to cover source commit delays and clock skew). Schedule the monitor at least as often as the chosen window duration; missed runs catch up one finished window at a time, and a capped scan resumes at the first unseen timestamp within the same window. Deferred (another monitor was running on the engine), partial, and capped observations mark incomplete coverage. Insights reads saved results when users open it — viewing never triggers a scan.
- In the scorecard, open one execution to read the observed window, rows read, checks evaluated, score, and comparison with the prior run. Checks cover freshness, volume, UTC daily coverage, schema (column names and database types including precision and scale), distribution (fixed buckets for missing and blank values, text lengths, booleans, and numeric sign and magnitude, compared between two complete observations with the same settings), and the optional policy. The score is the percentage of evaluated checks that passed, rounded to a whole percent — pending checks do not contribute, so a high score can still have partial coverage. Default behavior reports findings; Fail the run when a quality check fails makes a failed evaluated check fail the monitor execution (and a scheduled run's result becomes an error).
- Under Anomalies and Incidents, set Volume baseline to Rolling (latest complete window vs recent comparable observations), Daily (same UTC hour on prior days), or Weekly (same UTC weekday and hour on prior weeks), or leave it Off. The defaults use up to 12 comparable complete samples, require at least three, and flag deviations greater than 30% in either direction. Detection learns from complete observations recorded after it is enabled; capped and partial windows show as pending. The anomaly result is separate from the built-in score and the execution outcome.
- Enable Open incidents for failed monitor checks and enter up to five alert email addresses and up to ten related flow IDs. Repeated failures for the same monitor and check update one incident; a newer qualifying passing observation resolves it (the built-in check group needs a full window with all checks passing). Operators with edit permission on the monitor can claim, release, and resolve. An opening queues one email to the configured recipients — repeated failures do not re-send, a re-opening within an hour for the same monitor and check is suppressed, and pending or failed emails can be retried from the incident. Delivery uses the instance's mail configuration.
-
A monitor can also accept external PASS or FAIL results. In the monitor editor, set an External source key and up to ten comma-separated External check keys (letters, digits, dots, hyphens, underscores). Submit one completed result per call with a bearer credential permitted to execute the monitor:
POST /rest/v1/executions/data-quality/monitors/{flowId}/external-results { "source": "warehouse-tests", "check": "daily-orders-unique", "resultId": "orders-2026-11-29", "observedAt": "2026-11-29T16:05:00Z", "status": "FAIL", "relatedAuditId": 109342 }Use an observation time from the past seven days (up to five minutes ahead), and reuse the same resultId when retrying — the API answers {"recorded":true} for a new result and {"recorded":false} for a duplicate. An optional relatedAuditId must be a completed, visible run of the monitor or an allowed related flow in the same account. External observations can drive incidents without reading the source and appear separately from the built-in score; they are pruned after 30 days as further results arrive, while incidents remain until the monitor is deleted.
Worked examples: real-life configurations
Each example below lists the exact settings to enter. All of them use the PostgreSQL orders example; adjust names to your schema.
1. Validate incoming orders and quarantine bad emails (CSV to PostgreSQL)
A daily CSV drop of orders must load even when some rows have missing or malformed emails — but those rows must not reach the destination, and an operator must be able to fix and recover them.
- Flow: File to Database, CSV source, PostgreSQL destination sales.orders.
- Quarantine storage: run the quarantine DDL above and grant the connection's role usage on dq_example plus SELECT and INSERT on dq_example.rejected_orders. Select that connection under Connections → Quarantine.
- Mapping → Data Quality:
- Check 1 — column contact_email, Required value.
- Check 2 — column contact_email, Format → Email address.
- Check 3 (optional) — column amount, Numeric range, minimum 0.
- When a check fails: Send failing rows to quarantine, table dq_example.rejected_orders.
- Replay destination table: dq_example.recovered_orders (create it with the columns you replay). Replay columns, one per line: ORDER_ID = order_id, CONTACT_EMAIL = contact_email, AMOUNT = amount — payload keys exactly as stored, including case.
- Run with a batch of 32 orders where one email is blank and one is malformed: the destination receives 30 rows, and Insights → Data Quality → Executions shows 2 quarantined with the failed rule names. Open Review quarantined records, fix the email in the JSON, and Replay corrected record — the corrected row lands in dq_example.recovered_orders with the replay marker, and a small downstream flow merges recovered rows into sales.orders.
2. Block a duplicate batch before it reaches the live table (staged COPY + Unique key gate)
A nightly file load must never publish duplicate order IDs into the table your reports read.
- Step 1 — the existing native COPY (or bulk load) flow loads the file into a batch-isolated staging.orders table.
- Step 2 — a Data Quality flow on the same connection: check Unique key, table staging.orders, columns order_id. Add a second gate step with Schema contract if production requires exact columns — required columns one per line, types as order_id = BIGINT, and Reject extra columns when the contract is strict.
-
Step 3 — an Execute SQL step publishes with an explicit column list:
INSERT INTO sales.orders (order_id, contact_email, amount) SELECT order_id, contact_email, amount FROM staging.orders; - Keep the three steps sequential with the normal stop-on-failure behavior. For the tested single-transaction pattern, use the same database connection with Auto Commit disabled on the publishing SQL flow, and leave Commit destination changes after this step off before the gate — then a failed gate leaves production untouched and the staged batch in place for review. Run once with duplicate IDs (gate fails, publish skipped, production intact) and once clean (publish succeeds).
3. Verify a dbt build before exporting (dbt gate)
A pipeline runs dbt models and then exports the modeled tables to a partner. The export must not run when any dbt test failed, warned, or was skipped.
- Step 1 — the saved Execute dbt Project flow (local dbt Core on the warehouse connection) or Execute dbt Platform flow.
- Step 2 — a Data Quality for dbt flow whose parameter selects that saved dbt flow. The gate reads the normalized results of the dbt run from this pipeline invocation: any warning, skip, failed resource, or missing result fails the gate.
- Step 3 — the export flow. With sequential steps and stop-on-failure, the export runs only after a fully green dbt build. Gate details appear in the execution hierarchy and console.
4. Catch a silently changed amount in an incremental sync (inline keyed reconciliation)
An hourly High Watermark flow syncs orders between two PostgreSQL databases. Counts always match — but a trigger on the destination occasionally rounds amounts.
- On the transformation, open Data Quality and set reconciliation: mode Exact keyed comparison, scope Loaded batch, destination key order_id, compared columns amount, status, outcome Report only.
- Run after two orders changed at the source. Both reach the target, but the destination rounds one amount from $19.95 to $20.00. The run's Data Quality results show two rows on each side — counts agree — and one changed row in amount with the field difference listed. Verify the dollar values in Explorer.
- To enforce instead of report, switch to Fail the run — and decide the retry story first: with default metrics the watermark still advances past the committed batch; with Save metrics only on success the next run re-reads the batch, which is only safe with a keyed MERGE action (an append-only INSERT flow would duplicate rows). The save warning spells out this combination.
5. Month-end reconciliation between two databases (standalone Reconciliation flow)
Finance needs proof that November's invoiced totals in the operational database match the reporting database, with column names that differ between the two.
- Create a Reconciliation flow. Connections: operational PostgreSQL as source, reporting Aurora PostgreSQL as destination. Tables: billing.invoices and reporting.invoices.
- Batch or partition value: 2026-11, batch column billing_month on both sides (or pass it as the flow parameter {batch_id} from the pipeline).
- Counts and totals with one total per line: net_amount = invoice_total — the source column maps to the differently named reporting column. Add a tolerance if cent-level rounding is acceptable; by default any difference fails the step (Fail on differences above tolerances).
- For row-level proof, switch to Exact keyed comparison with key invoice_id and compared columns net_amount, status — the report separates missing, extra, and changed rows. Reconcile after the month is closed, or set a Cutoff timestamp so both sides compare the same immutable slice.
- Run standalone on a schedule, or as the last sequential step of the month-end pipeline (with Commit destination changes after this step on the preceding load when it writes through a separate connection).
6. Watch a reporting table loaded by another system (monitor + incidents)
A vendor loads reporting.daily_sales overnight. Nobody opens the table until something is wrong — the monitor should notice first.
- Prerequisite: an index the monitor can use, for example CREATE INDEX ON reporting.daily_sales (loaded_at) where loaded_at is timestamptz.
- Insights → Data Quality → Monitors → Create monitor: the reporting connection, table reporting.daily_sales, time column loaded_at. Lookback 24 hours, enable Profile only new time windows (the feed is append-only), freshness limit 26 hours, minimum rows 1,000, require 7 prior completed UTC days with data, profile the default eight columns.
- Anomalies and Incidents: Volume baseline → Daily (the feed has a strong daily shape), defaults of 12 samples / minimum 3 / 30% deviation. Enable Open incidents for failed monitor checks, recipients data-team@yourcompany.com, related flows: the IDs of the flows that consume this table.
- Run once, then Create schedule for daily 07:00 UTC. After the baseline warms up (three complete comparable days), a short-loaded morning opens one volume incident, emails the team once, links the related runs, and resolves itself when a qualifying full window passes. Operators claim and resolve from the incident panel.
- If the vendor also runs their own checks, give the monitor External source key vendor-tests and check key daily-sales-complete, and have their pipeline POST the external result — their FAIL opens an incident without any source scan.
7. Validate a Kafka stream with quarantine
A Kafka topic streams JSON order events into PostgreSQL; malformed events must be captured without stopping the stream.
- Flow: Stream Messages from Queue into Database, Kafka JSON with the default record processor, direct database target.
- On the Kafka connection: set a dedicated consumer group, disable Auto Commit, and set Starting Offset → earliest — destination writes and quarantine writes then finish before the group's offset advances.
- Mapping → Data Quality: the same checks as example 1, action Send failing rows to quarantine with the PostgreSQL quarantine table. A retried message in the same flow and mapping deduplicates its quarantine row by topic, partition, offset and record timestamp.
- Watch the stream's checkpoints in View running tasks and the quarantine counts in Insights → Data Quality.
Supported flows and connectors
Configured coverage and live provider qualification are tracked separately — a listed path is implemented and configurable; hosted-provider behavior for specific warehouse loaders is qualified over time.
| Feature | Coverage |
|---|---|
| Explorer profiles | Supported table, view, and flat-file reads from the app, one object per scan. Agent-only Explorer connections are outside this profiling path. |
| Inline row checks and profiling | Eligible flat Database to Database, File to Database, Database to File, and File to File mappings, including supported streaming and buffered execution, wildcards, and eligible Composer or Nested steps. Native file loads and nested document mappings use different paths and are outside inline checks. |
| Queue and CDC row checks | Kafka JSON with the default record processor and a direct database target — for the Kafka quarantine setup, specify a consumer group, disable Kafka Auto Commit, and set Starting Offset → earliest. MySQL and PostgreSQL CDC into a direct database target validate snapshot, insert, and update row images; deletes continue through unchecked. |
| Quarantine and operator replay | Quarantine storage is PostgreSQL even when the ETL destination is elsewhere. Replay runs from the app on eligible saved mappings and uses a recovery table in that PostgreSQL database. |
| Database and dbt gates | JDBC gate catalog: PostgreSQL, Aurora PostgreSQL, MySQL, Aurora MySQL, MariaDB, SQL Server, Oracle, Snowflake, Redshift, BigQuery, and Databricks. Local Custom SQL evidence covers PostgreSQL, MySQL, MariaDB, SQL Server, and Oracle; confirm hosted-provider behavior before relying on broader claims. The dbt gate uses supported normalized dbt Core or dbt Platform results. |
| Inline reconciliation | Regular Database to Database and generic Database to Database Using Bulk Load on supported JDBC targets — PostgreSQL is the guide example, and MySQL streaming reads were exercised. The dedicated Snowflake, Redshift, BigQuery, Databricks, Synapse/Fabric, Greenplum, Vertica, and Oracle SQL*Loader templates have implementation coverage; live provider qualification for those loaders is tracked separately. |
| Standalone reconciliation and monitors | PostgreSQL and Aurora PostgreSQL. Schedule monitors on the app, using an eligible indexed time column. |
Integration Agent requirements
Existing ordinary flows keep their current Agent eligibility. Opting in to Data Quality adds requirements by feature: inline validation and profiling, gates, extended Custom SQL, quarantine and stream checks, and standalone reconciliation each need the corresponding advertised Agent capability. For inline database reconciliation, an older Agent can run the flow with Report only and skip the comparison; Fail the run needs an updated Agent, including when the setting is inherited or used through a parent flow. Monitors, incident evaluation, external result ingestion, and operator replay run on the app. After upgrading an Agent, wait for its next status update before assigning the flow.
Move configurations between environments
Flow export/import, cross-tenant Patch, and Git-backed ETL as Code carry the applicable Data Quality settings, bindings, and referenced pinned policy revisions. The destination can reuse an identical revision, and import otherwise creates private copies in the target account; a shared-policy conflict stops the import and needs resolution in the destination account. Global sharing and tenant overrides are managed in the destination account. Profile baselines, execution history, monitor checkpoints and incidents, and quarantine records stay with the environment that collected them. The updated app can import earlier flow bundles.
Automate with the built-in CLI
The built-in CLI Data Quality command reference covers profiling, policy publication and revisions (data-quality-policies), incidents, external results, quarantine replay, and result assertions. These commands run in the app's built-in CLI. For example, in a CI job, look up one recorded monitor run and assert its result (substitute your flow and execution IDs):
data-quality-executions flowId=<monitorId> executionId=<executionId>
data-quality-assert flowId=<monitorId> executionId=<executionId> requireComplete=true minScore=95 --stop-on-errorAssertion exit codes: 0 — criteria satisfied; 1 — argument, permission, or service error; 2 — recorded failure or missed threshold; 3 — missing or insufficient evidence. requireComplete=true also treats incomplete, capped, or unavailable coverage as a failure. Use pass/fail criteria for reconciliation results, and reserve minScore for results that carry a numeric score — a result without one is insufficient when minScore is supplied. Policies can also be managed over REST (/rest/v1/data-quality/policies) with optimistic revision checks, and Explorer profiles can be requested with POST /rest/v1/explorer/sql/profile.