Skip to main contentSetting a data quality rule ensures your data adheres to data quality characteristics such as accuracy and consistency.
Prerequisites
- Access to the NexusOne portal
- Appropriate permission:
nx1_quality
Select a dataset and set a rule
- Log in to NexusOne.
- On the NexusOne homepage, click Quality.
- Select your preferred catalog:
- iceberg: When using an Iceberg table
- LLM: Not applicable yet
- Select a schema and table.
- Set a rule. When setting a rule, there are two options:
- Generate a rule from a description: To use this, enter a sentence describing the rule. Here are a few examples:
- Verify that all values in the
email column follow the valid email address format ([email protected]).
- Check that all values in the
state column use two-letter state abbreviations only, such as GA, CA, or NY.
- Use recommended suggestions: This displays both recommended rules and any previously generated custom rules.
- Depending on the options you choose, click Accept or Ignore.
Use the following API endpoints to:
- Select a table and get suggestions for a rule.
- Accept the rule.
For more advanced use cases such as running assertions on DataHub, you can:
- Run a report by rule or
table.
- Report assertion runs to DataHub.
Additional resources