json.data.tests.columnValuesLengthsToBeBetween.json Maven / Gradle / Ivy
{
"name": "columnValueLengthsToBeBetween",
"fullyQualifiedName": "columnValueLengthsToBeBetween",
"displayName": "Column Value Lengths To Be Between",
"description": "This schema defines the test ColumnValueLengthsToBeBetween. Test the value lengths in a column to be between minimum and maximum value. ",
"entityType": "COLUMN",
"testPlatforms": ["OpenMetadata"],
"supportedDataTypes": ["BYTES", "STRING", "MEDIUMTEXT", "TEXT", "CHAR", "VARCHAR", "ARRAY"],
"parameterDefinition": [
{
"name": "minLength",
"displayName": "Min",
"description": "The {minLength} for the column value. If minLength is not included, maxLength is treated as upperBound and there will be no minimum value length",
"dataType": "INT",
"validationRule": {
"parameterField": "maxLength",
"rule": "LESS_THAN_OR_EQUALS"
}
},
{
"name": "maxLength",
"displayName": "Max",
"description": "The {maxLength} for the column value. if maxLength is not included, minLength is treated as lowerBound and there will be no maximum value length",
"dataType": "INT",
"validationRule": {
"parameterField": "minLength",
"rule": "GREATER_THAN_OR_EQUALS"
}
}
],
"supportsRowLevelPassedFailed": true,
"supportsDynamicAssertion": true,
"provider": "system",
"dataQualityDimension": "Accuracy"
}