Getting 'unexpected_rows" in ColumnPairMapExpectation #5920
mykola-yesypchuk-inflection
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem:
Almost all column expectations can return "unexpected_rows" when we validate data with parameters result_format=SUMMARY and include_unexpected_rows=True. It helps to get invalid rows consider "partial_unexpected_count" parameter.
But expectations that inherit ColumnPairMapExpectation can't return "unexpected_rows".
Why:
Example, when unexpected_rows is returned correctly:
https://github.com/great-expectations/great_expectations/blob/5449e9626be9ab065fb4221931ca9d3bd72c8bac/great_expectations/expectations/expectation.py#L2139-L2154
Solution:
All reactions