Deequ is a library built atop Apache Spark that enables defining “unit tests for data” — that is, formal constraints or checks on datasets to ensure data quality along dimensions such as completeness, uniqueness, value ranges, correlations, etc. It can scale to large datasets (billions of rows) by translating those data checks into Spark jobs. Deequ supports advanced features like a metrics repository for storing computed statistics over time, anomaly detection of data quality metrics, and the suggestion of likely constraints automatically for new datasets. It also includes a little domain-specific language called DQDL (Data Quality Definition Language) which allows declarative specification of quality rules. Users typically run Deequ before feeding data downstream (to ML pipelines, analytics, or production systems), enabling early detection and isolation of data errors. There is also a Python wrapper, PyDeequ, for users who prefer working from Python environments.

Features

  • Metrics computation for large datasets: completeness, min/max, uniqueness, correlation etc using Spark aggregations
  • Constraint definition and verification: developers can define data quality constraints and have Deequ check whether the data satisfies them
  • Constraint suggestion / profiling: ability to profile data and suggest likely useful constraints automatically
  • Anomaly detection / drift monitoring across data runs / versions so changes/unexpected data patterns are caught
  • Integrates with distributed data sources / storage systems (e.g. S3, HDFS etc), works as part of Spark pipelines
  • Can be used via Python abstraction (PyDeequ) for those who prefer Python interface over Scala when using Spark

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Deequ

Deequ Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Deequ!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Libraries

Registered

2025-09-18