What is Write-Audit-Publish and how does it work?
Write-Audit-Publish separates writing, validating, and publishing data, so checks can block a change before it reaches downstream consumers of production data.
Write-Audit-Publish (WAP) is a workflow that separates writing data from publishing it, placing a check before readers see the changes. In Write, a candidate version is staged in an isolated location; in Audit, it is checked against agreed-upon rules; in Publish, the approved version becomes available to readers of the production table. For example, a check can look for duplicate orders before they feed a financial report. The Apache Iceberg documentation describes an implementation that writes to a branch, a separate line of versions, and validates the branch before updating the main line. Isolation protects only the configured read path: anyone reading the candidate directly can see it before release, and an error that no check targets can still be published. The workflow therefore needs explicit rules, a decision owner, and a procedure for handling failed checks.
See also: Data qualityHow fit your data is for its intended use: complete, correct, fresh and consistent across systems. Measured, not declared.
Checks before publication
Data quality covers what to check, such as whether an identifier is unique. WAP puts that check before publication. A data contract, an agreement on the expected characteristics of the data, can help choose the rules, but a mechanism must still block publication whenever a required rule fails.
A pre-publication check does not replace data observability, the ongoing monitoring of data: an incomplete rule can miss anomalies, and a source can change after release. Store each check result with the version it examined, and record who can approve or reject that version.
An enterprise example
Consider a nightly order load used by finance leadership. The data team prepares the new version on a separate line and checks that every order has a unique identifier. If the check finds duplicates, the process holds the candidate version and alerts the owner; readers of the main line continue to see the last published version. Fixed data is rechecked before release. The scenario is illustrative: protection depends on configuring the check and having reports read the main line.
Why it matters for decision makers
When choosing a platform, do not confuse versioning support with control over releases. The Iceberg branching documentation states that the table schema applies across all branches: a column change does not stay isolated in the candidate version, and readers of the main line see it too. The Iceberg procedures also document publication using a WAP identifier, but only for appends and dynamic overwrites: a snapshot produced by UPDATE or DELETE does not necessarily qualify for publication.
Before buying or deploying, ask which writes are supported, who may publish them, what happens if production changes during validation, and how long previous versions remain available. Also decide how much data staleness is acceptable when a check blocks the pipeline.
Frequently asked questions
Related terms
- Data qualityHow fit your data is for its intended use: complete, correct, fresh and consistent across systems. Measured, not declared.
- Data observabilityData observability monitors data health over time and flags anomalies in freshness, volume, structure, and values for the people who must act on the data.
- Open table formats (Iceberg, Delta, Hudi)Open table formats organize files and metadata into tables with versions and transactions, so that multiple compatible processing engines can access them.
- Data contractA formal agreement between data producers and consumers: schema, semantics and SLAs, versioned and automatically enforced in CI.
- Data branchingAn isolated working copy of data created without duplicating it, with Git's commit, promotion and rollback semantics.
If it touches your company's data, getting that data in order is the first thing I do.
See Data Foundations