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
[BUGFIX] - Prevent duplicate Expectations in Validation Results when Exceptions are triggered #9456
[BUGFIX] - Prevent duplicate Expectations in Validation Results when Exceptions are triggered #9456
Conversation
70ee096
to
bafd09c
Compare
✅ Deploy Preview for niobium-lead-7998 canceled.
|
bafd09c
to
ac7fed1
Compare
for more information, see https://pre-commit.ci
…th-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments' into f/PP-918-running-a-validation-with-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far. I will wait for tests to pass, because there are a lot more to run.
for more information, see https://pre-commit.ci
…th-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments' into f/PP-918-running-a-validation-with-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments
…tions into f/PP-918-running-a-validation-with-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! It should be pretty trivial to update the mysql tests.
…pectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments
…th-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments' into f/PP-918-running-a-validation-with-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments
…tions into f/PP-918-running-a-validation-with-one-expectation-can-fail-silently-and-produce-multiple-validation-resultstable-name-custom-renderer-comments
…Exceptions are triggered (#9456)
Fix bug where duplicate Expectation in a Expectation Validation Result were getting added when error exceptions were captured. This was being caused when the
aborted_exception_info
was getting duplicated on retry (3x for each retry).Changes:
Only one error is capture on every retry, overwriting the previous one.
A dictionary with the metric id as string key and an exception is added into an Expectation Validation Result instead of adding an EVR for each exception.
Description of PR changes above includes a link to an existing GitHub issue
PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]
Code is linted - run
invoke lint
(usesblack
+ruff
)Appropriate tests and docs have been updated
For more information about contributing, see Contribute.
After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!