Create and Verify Data Quality Rule
A 3-step recipe with Acceldata. We can help you get access.
Recipe · 3 steps
Create and Verify Data Quality Rule
with Acceldata
Create a data quality rule on a dataset and verify it is registered.
- List datasets on the given source and capture the first dataset id to create the rule against.
- Create a new data quality monitoring rule on the resolved dataset's column using the supplied rule definition.
- List the active data quality rules for the dataset to confirm the newly created rule is registered.
What you'll need to have ready
- apiKey: Acceldata API key sent in the X-API-Key header.
- source: Data source platform to filter datasets by (e.g. snowflake).
- ruleName: Name of the data quality rule to create.
- ruleType: Type of data quality check (e.g. null_check, uniqueness_check).
- columnName: Column on the dataset that the rule monitors.
- threshold: Alert threshold as a percentage (0-100).
- severity: Severity of alerts triggered by this rule.
For your developer
Arazzo workflow acceldata:create-and-verify-rule, 3 operations: listDatasets → postDataQualityRules → getDataQualityRules. Specs on APIs.io.