Skip to main content
Dependencies:
  • ProphecySparkDataQualityPython 0.0.1+
  • ProphecyLibsPython 1.9.16+
  • ProphecyLibsScala 8.2.1+
Cluster requirements:
  • UC dedicated clusters 14.3+ supported
  • UC standard clusters not supported
  • Livy clusters not supported
The DataQualityCheck gem includes a variety of checks that are built on the open source tool Deequ. Use this gem to make sure your data adheres to predefined constraints.

Requirements

Dependencies

  • ProphecySparkDataQualityPython 0.0.1+

Cluster requirements

  • Set the SPARK_VERSION environment variable to a Spark version 3.3+
  • Install the PyDeequ library on the cluster
  • Install the Maven Deequ library on the cluster (choose the version that matches your Spark version)

Input and Output

Data Quality Checks

Post Actions

Example code

Each check is compiled into highly decipherable code. When you switch to the code view and open the DataQualityCheck file, you can see that every check includes a hint that populates the out1 constraint_message column if you do not define a custom failure message. Below is an example of the generated code with a few checks configured.
To see the compiled code of your project, switch to the Code view in the project header.