Range
The Range check ensures to ensure that numeric value in the column meets the specified criteria. If the value does not meet the criteria, the check fails. This enables users to enforce validity-based data quality rules without writing any expressions.
Steps
- Navigate to the Checks tab of the Validation Rule.
- Click edit ✏️ button to rename the Check which is by default Chk_[Sequential_Number].
- Select Add, then choose Range.
- Search and select the column to perform the Range check on.
- Specify the criteria by selecting operator and number.
- Supported Operators:
- greater than – Value must be greater than the given number.
- greater than or equal to – Value must be greater than or equal to the given number.
- less than – Value must be less than the given number.
- less than or equal to – Value must be less than or equal to the given number.
- between – Value must fall within the range of two provided values.
Property | Description |
---|---|
Ignore Nulls | If enabled, the engine will not apply the check, resulting in a success state. |
- Use the test feature to validate the check logic without running the full rule. Enter sample input values in the text fields and click the Play button to view the output.
- Optionally, provide a Check Description to explain the purpose and business logic.
- Optionally, tag a Data Quality Dimension to the check.
- Finalize the check by selecting one of the following options:
- Cancel – Discard the check.
- Save – Save the check and close the configuration window.
- Save and Next – Save the current check and proceed to create a new one.
Output
- true – When the value matches the defined criteria.
- false – When the value does not match the criteria.
Example:
Rule: AccountNumber: greater than 10000000
Input: 56982314 → Output: true
Input: 5698126 → Output: flase
note
This check is currently supported only for columns with numeric datatypes like integer, float.
A single check can be applied to only one attribute. To validate multiple attributes, create separate Datatype checks for each.