metadata.sdk.data_quality
Simplified Data Quality as Code API for OpenMetadata SDK.
Modules:
- runner – Class that allows running data quality checks by code
- tests – Convenience classes that represent test definitions
- workflow_config_builder – Builder for creating OpenMetadata workflow configurations for test suite execution.
Classes:
- BaseTest – Base class for all data quality test definitions.
- ColumnTest – Base class for column-level data quality test definitions.
- ColumnValueLengthsToBeBetween – Validates that the length of string values in a column falls within a specified range.
- ColumnValueMaxToBeBetween – Validates that the maximum value in a column falls within a specified range.
- ColumnValueMeanToBeBetween – Validates that the mean (average) value in a column falls within a specified range.
- ColumnValueMedianToBeBetween – Validates that the median value in a column falls within a specified range.
- ColumnValueMinToBeBetween – Validates that the minimum value in a column falls within a specified range.
- ColumnValueStdDevToBeBetween – Validates that the standard deviation of column values falls within a specified range.
- ColumnValuesMissingCount – Validates that the count of missing or null values meets expectations.
- ColumnValuesSumToBeBetween – Validates that the sum of all values in a column falls within a specified range.
- ColumnValuesToBeAtExpectedLocation – Validates that a specific value appears at an expected row position.
- ColumnValuesToBeBetween – Validates that all values in a column fall within a specified numeric range.
- ColumnValuesToBeInSet – Validates that all values in a column belong to a specified set of allowed values.
- ColumnValuesToBeNotInSet – Validates that column values do not contain any forbidden values.
- ColumnValuesToBeNotNull – Validates that a column contains no null or missing values.
- ColumnValuesToBeUnique – Validates that all values in a column are unique with no duplicates.
- ColumnValuesToMatchRegex – Validates that column values match a specified regular expression pattern.
- ColumnValuesToNotMatchRegex – Validates that column values do not match a forbidden regular expression pattern.
- TableColumnCountToBeBetween – Validates that the number of columns in a table falls within a specified range.
- TableColumnCountToEqual – Validates that the table has an exact number of columns.
- TableColumnNameToExist – Validates that a specific column exists in the table schema.
- TableColumnToMatchSet – Validates that table columns match an expected set of column names.
- TableCustomSQLQuery – Validates data using a custom SQL query expression.
- TableDiff – Compares two tables and identifies differences in their data.
- TableRowCountToBeBetween – Validates that the number of rows in a table falls within a specified range.
- TableRowCountToEqual – Validates that the table has an exact number of rows.
- TableRowInsertedCountToBeBetween – Validates that the number of rows inserted within a time range is within bounds.
- TableTest – Base class for table-level data quality test definitions.
- TestRunner – Simplified test runner for executing data quality tests on OpenMetadata tables.