-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
expect_column_pair_values_a_to_be_greater_than_b fail to show unexpected rows #10323
Comments
hi there - just want to let you know i am looking into this. to my knowledge, both should be returning unexpected rows. Please stand by while I continue to investigate |
following up here, what are you getting it back? do you see the key returning the object for unexpected rows like you do for expect_column_values_to_be_in_set at all? |
I do have key returning for the expect_column_values_to_be_in_set and also for the expect_column_pair_values_a_to_be_greater_than_b |
so you have the unexpected values key being returned for both but for |
Yes, I do have the keys for both expectations. What do you mean for ss? |
screenshot i'm sorry |
Sorry, I don't have permission to share screenshots |
understood no problem! but again, is the if you edit your project to only have the expect_column_pair_values_a_to_be_greater_than_b expectation, and run |
Hi team, any news on that subject? |
Hi @VytSep, thank you for your patience. This issue has been confirmed as a bug. Unfortunately, I don't have a specific timeline for when it will be addressed, but I plan to follow up with the team tomorrow and should have an update then. |
@VytSep did this work for you in the past? or prior to 1.0? |
Hi @adeola-ak , no i did not. I have the same issue also with the 0.18.15 version. |
hi @VytSep sorry that I misspoke earlier this month. After further review, though unexpected rows works for |
Describe the bug
The expectation expect_column_pair_values_a_to_be_greater_than_b is not generating the unexpected rows
To Reproduce
The expectation is configured this way:
COMPLETE={"result_format": "COMPLETE", "include_unexpected_rows": True}
expectation = gx.expectations.ExpectColumnPairValuesAToBeGreaterThanB(
column_A="date_a",
column_B="date_b",
or_equal=True,
result_format=COMPLETE,
)
The checkpoint is configured this way:
checkpoint_name = "my_checkpoint"
checkpoint = gx.Checkpoint(
name=checkpoint_name,
validation_definitions=validation_definitions,
result_format={"result_format": "COMPLETE", "include_unexpected_rows": True},
)
Expected behavior
Have in the validation result the unexpected rows for this expectation
Environment (please complete the following information):
Additional context
For other expectations like expect_column_values_to_be_in_set I do have the unexpected rows generated
The text was updated successfully, but these errors were encountered: