DataBridge Quality Core library is a part of dbqctl.
- Schema:
expect_columns_ordered: Validate table columns match an ordered listexpect_columns: Validate table has one of columns from unordered listcolumns_not_present: Validate table doesn't have any columns from the list or matching pattern
- Table:
row_count: Count of rows in the tableraw_query: Custom SQL query for complex validations
- Column:
not_null: Check for null values in a columnfreshness: Check data recency based on timestamp columnuniqueness: Check for unique values in a columnmin/max: Minimum and maximum values for numeric columnssum: Sum of values in a columnavg: Average of values in a columnstddev: Standard deviation of values in a column
- Comparison:
<, >, <=, >=, ==, != - Range:
between X and Y - Function-only checks (like
not_null, uniqueness)
- Schema Validation: New
schema_checkssupport for validating database table schemasexpect_columnscheck to validate required column presence and typesexpect_columns_orderedcheck to validate required column presence and types in specific ordercolumns_not_presentcheck to ensure specific columns are not present by stop-list or pattern
- Enhanced Check Configuration: New flexible checks format with improved YAML configuration
- Database Adapter Architecture: Refactored to use adapter pattern for better database abstraction
- Comprehensive Test Coverage: Added extensive test suites for all adapters and validation logic
- CI/CD Pipeline: GitHub Actions workflow for automated testing
- Performance: Enhanced query execution with optimized adapter interfaces
- Configuration: More flexible check expression parsing and validation
- Error Handling: Better validation and error reporting for check results
- Code Quality: Comprehensive refactoring with improved maintainability