Overview
Deequ is a library for unit tests on data, built on Apache Spark and designed for datasets large enough that
checking them any other way is impractical. AWS describes it as built for billions of rows.
It is Scala and JVM-first, which makes it the outlier here. A Python wrapper, PyDeequ, exists for callers who need
it, and DQDL, a declarative rule language, is the second authoring surface.
Checks are a fluent Scala DSL chained off a check object with a severity level, asserting size, completeness,
uniqueness, set membership and non-negativity, then run through a verification suite.
Three features set it apart from everything else in this category. Constraint suggestion profiles your data and
proposes constraints, inverting the authoring problem entirely.
A metrics repository persists computed metrics so history is queryable rather than recomputed, and anomaly detection
then runs over that history. No other library here keeps its own metric history.
Incremental computation is the architectural point. Metrics are computed with each new version of a dataset rather
than by rescanning everything, using approximate sketches for expensive statistics such as quantiles.
It is Apache 2.0 and free, and it quietly underpins a paid service: AWS Glue Data Quality is built on Deequ, which
AWS presents as giving portability without lock-in.
Maintenance is genuinely healthy, contrary to its reputation. Version 2.1.0 landed in September 2026 after six
releases that year, with human commits throughout and multiple contributors.
Plan for one breaking change: from 2.1.0 Java 11 is required, where earlier 2.0 releases ran on Java 8, and the
release also replaced deprecated Spark aggregators.
The honest gap is everything after detection. There are no dashboards, no alerting channels, no Slack or email
integration, and no orchestrator or catalogue integrations; Deequ emits metrics and results for you to route.
Other testing & validation tools
Data validation framework for defining, running and documenting expectations about data. GX Core is Apache 2.0 and now stewarded by Fivetran; GX Cloud was acquired by FICO and withdrawn from public sale in June 2026.
Statistical data validation for DataFrames in Python.
Data quality and data contract verification with checks written in YAML, plus a cloud platform. Soda Core moved from Apache 2.0 to the Elastic License 2.0 with version 4 in January 2026, so the engine is source-available.