Four places to catch bad data
A load can finish green with a missing email, a duplicate ID and $19.95 stored as $20. Etlworks 10.1.3 checks data in the flow that moves it, in four places.
A load can finish green with an order missing its email, a duplicate ID in the batch, and $19.95 stored as $20. Etlworks 10.1.3 catches all three in the flow that moves the data, because that is where the context is: which run wrote which rows, what the source sent, and whether anything downstream has read it yet.
A tool that inspects the warehouse afterwards sees the damage once it is there. The pipeline can keep a bad row out, stop a batch before it is published, and tell you which run did it.
1. Profile before you write a rule
Explorer, our data workspace, profiles a table or file: Preview up to 1,000 rows or Scan up to 20,000 rows, with null and blank rates, distributions and text lengths per column. Rescan and save baseline keeps the counts, so the next scan shows what moved. A column that has always been filled gets a suggested Required value check, which you can publish as a named policy in Settings → Data Quality. Policies are versioned, and a mapping pins the revision it uses.
2. Check every row on the way in
Checks live on the transformation, under Mapping → Data Quality: required value, data type, email and UUID format, numeric range, text length, allowed values, regular expression, and a comparison between two fields. Each mapping picks what a failure costs: report it, skip the row, stop the flow, or send the row to a quarantine table.
Quarantine keeps the source payload and the reasons. Someone opens the reject in Insights → Data Quality (Insights is our monitoring console), fixes the value and replays it. The corrected record goes through the same checks, and the insert commits together with the replay marker, so replaying twice never inserts twice.
The checks run in the read the flow already makes, on database and file ETL, Kafka streams into a database, and MySQL and PostgreSQL CDC.
3. Prove what landed
Row checks see what the source sent. Reconciliation sees what the destination kept. Turn it on for a transformation in a Database to Database flow, regular or bulk load:
Reconciliation mode Exact keyed comparison
Reconciliation scope Loaded batch
When differences are found Report only
Key columns order_id
Compared columns amount
After the commit, Etlworks compares the rows this run loaded with the destination, by key. In the walkthrough two orders load and two land, so the counts agree. The keyed comparison still flags one changed amount, because the reporting column is numeric(12,0) and 19.95 became 20. Loaded batch checks only this run's keys, including incremental high watermark loads, and a wildcard transformation gets a separate result for every table it resolves. Index the destination key columns. Fail the run marks the run failed after the commit; Counts and totals is the lighter mode when row counts and sums are enough.
4. Gate the batch before anyone reads it
Some problems only exist across a batch. A Data Quality step runs one check in the database: schema contract, unique key, reference check, freshness, row count, control total or custom SQL, on PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Snowflake, Redshift, BigQuery or Databricks. In Composer, our visual workflow builder, the pattern is load into staging, gate, then publish with a SQL step. A duplicate order ID fails the gate and the publish step never runs. Data Quality for dbt does the same with the results of a dbt run earlier in the pipeline.
Keep watching the table
A scheduled monitor reads a PostgreSQL table for freshness, volume, schema and distribution, whoever loaded it. Each run gets a score next to its coverage, because a capped run that read part of its window can score 100% and still prove little. A failed check opens an incident with an owner, and tests from other tools can post PASS or FAIL to the same monitor.
CI gets an exit code:
data-quality-assert flowId=<monitorId> executionId=<executionId> requireComplete=true minScore=95
It exits 0 on a pass, 2 on failed checks and 3 when the evidence is missing or insufficient. The other 15 commands are in the CLI reference, and the data quality page lists where each part runs.