-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issues 50&51: validating input json & Issue 26: adding a dq_results d…
…ataclass (#56) * Move delta-spark dependency * Fix broken test_read_data_quality_rules_from_json_returns_json_string * Raise ValueError instead of print statement * Rename function to load_data_quality_rules * Add setup for validate_data_quality_rules_dict * Start implementing validate_data_quality_rules_dict, add test * Fix dq_rules.json test data * Remove some checks * Add some more validations to validate_data_quality_rules_dict * Remove TODO for issue#50 * Add validation addressing issue#51 * Remove TODO issue#51, simplify create_and_configure_expectations * Update Rule dataclass to reflect new input json format * Update dq_rules.json test data * Formatting and cleanup * Split validate_data_quality_rules_dict into various functions * Simplify/split further * Add test to TestValidateDataQualityRulesDict * Fix type hint in DataQualityRulesDict * Further split validate_lowest_level function by key * Add TestValidateDataSet * Add TestValidateTables * Add TestValidateRulesDict * Add url validation * Add TestValidateTableSchema * Remove TODO on validation of url * Formatting * Minor change * Update dq_rules_example.json to reflect new format * Add TestValidateRule * Use fixtures * Formatting * Add validators to pyproject.toml * Fix broken test_common.py * Minor change to address issue #26 --------- Co-authored-by: bas <[email protected]>
- Loading branch information
Showing
11 changed files
with
558 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.