2.6.1.1 Create a Rule
You can create a Data Quality Rule definition by specifying the DQ
Definition details.
The following capabilities are supported:
- Ability to create three types of Custom DQ rules: Mandatory, Range, Comparison.
- Ability to edit Custom DQ rules in Draft, Returned and Published status.
- Ability to delete Custom DQ Rules in Draft or Returned status.
Mandatory
Custom DQ Mandatory rule is a combination of Null Value and Blank Value. Check for alphanumeric or character type of base attribute and it is Null Value Check for other types of base attribute.
Range
The Range option is supported only for attributes of numeric and date types.
Comparison
- The comparison check allows you to compare the attributes with
the following options:
- Specific Value- This option allows you to compare the
base attribute with a specific value based on the type of base
attribute selected.
Note:
Single quote special character is not allowed in the value field. - Another attribute- This option allows you to compare the Comparison Base Attribute with the Comparison Attribute, where the Comparison Base Attribute and Comparison Attribute are the attributes of the base entity or of the associated dimensions that are referenced by the base entity.
- Comparison Base Entity- This dropdown lists the base entity along with the associated dimensions that are referenced by the base entity. By default, this field is populated with base entity.
- Comparison Base Attribute- This dropdown lists all the attributes of the entity selected in the Comparison Base Entity field. By default, this field is populated with base attribute.
- Operator- Select the appropriate value from the dropdown list.
- Comparison Entity- This dropdown lists the base entity along with the associated dimensions that are referenced by the base entity.
- Comparison Attribute- This dropdown lists all the attributes of the entity selected in the Comparison Entity field.
- Specific Value- This option allows you to compare the
base attribute with a specific value based on the type of base
attribute selected.
- The comparison option allows you to compare the attributes which are only compatible to be compared. When you use this option with alphanumeric or character type of Comparison Base Attribute, equal sign operator alone is supported.
Ensure the Issue is created with the Category as Data
Accuracy and Source as Catalog and the Action
Type as Data Accuracy.
To create a Data Quality Rule, complete the following steps: