json.data.tests.columnValueMaxToBeBetween.json Maven / Gradle / Ivy
{
"name": "columnValueMaxToBeBetween",
"fullyQualifiedName": "columnValueMaxToBeBetween",
"displayName": "Column Value Max. To Be Between",
"description": "This schema defines the test ColumnValueMaxToBeBetween. Test the maximum value in a col is within a range.",
"entityType": "COLUMN",
"testPlatforms": ["OpenMetadata", "DBT"],
"supportedDataTypes": ["NUMBER", "INT", "FLOAT", "DOUBLE", "DECIMAL", "TINYINT", "SMALLINT", "BIGINT", "BYTEINT"],
"parameterDefinition": [
{
"name": "minValueForMaxInCol",
"displayName": "Min",
"description": "Expected minimum value in the column to be greater or equal than",
"dataType": "INT",
"validationRule": {
"parameterField": "maxValueForMaxInCol",
"rule": "LESS_THAN_OR_EQUALS"
}
},
{
"name": "maxValueForMaxInCol",
"displayName": "Max",
"description": "Expected maximum value in the column to be lower or equal than",
"dataType": "INT",
"validationRule": {
"parameterField": "minValueForMaxInCol",
"rule": "GREATER_THAN_OR_EQUALS"
}
}
],
"provider": "system"
}