Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/86 return checkpoint result #89

Merged
merged 14 commits into from
Feb 17, 2025

Conversation

SSchotten
Copy link
Contributor

@SSchotten SSchotten commented Feb 15, 2025

This PR generalises the original idea of run_validation returning flags: by default, a boolean indicating success will be returned by run_validation - however, in debug_mode, it return an additional CheckpointResult, so the user can dig into this for further details.

Also, a 'meta' key was added to each GX expectation, containing table name, column name and expectation name. These values can be used from the CheckpointResult and could be of use when writing a custom SlackAction in future (containing information about which expectation on which column of which table is failing).

@SSchotten SSchotten linked an issue Feb 15, 2025 that may be closed by this pull request
@ArthurKordes ArthurKordes merged commit 040bb52 into main Feb 17, 2025
3 checks passed
@ArthurKordes ArthurKordes deleted the issue/86-return-checkpoint-result branch February 17, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add return flag to src.dq_suite.validation.run_validation
2 participants