You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The expect_column_values_to_be_type and expect_column_values_to_be_in_type_list expectations do not provide failed row identification in their results.
Expected behavior
The documentation([https://greatexpectations.io/expectations/expect_column_values_to_be_of_type]) includes the result format as
akmahi
changed the title
expect_column_values_to_be_type and expect_column_values_to_be_in_type_list both expectation result doesn't have the failed row identification in result.
Missing Failed Row Identification in Results for expect_column_values_to_be_type and expect_column_values_to_be_in_type_list Expectations
Nov 27, 2024
Hi there, thanks for reporting this. I can confirm that I’m also able to reproduce the issue and have reached out to the team to clarify the expected behavior for these expectations. Please stay tuned for updates
Describe the bug
The expect_column_values_to_be_type and expect_column_values_to_be_in_type_list expectations do not provide failed row identification in their results.
Expected behavior
The documentation([https://greatexpectations.io/expectations/expect_column_values_to_be_of_type]) includes the result format as
{ "exception_info": { "raised_exception": false, "exception_traceback": null, "exception_message": null }, "result": { "element_count": 3, "unexpected_count": 3, "unexpected_percent": 100.0, "partial_unexpected_list": [ "12345", "abcde", "1b3d5" ], "missing_count": 0, "missing_percent": 0.0, "unexpected_percent_total": 100.0, "unexpected_percent_nonmissing": 100.0 }, "meta": {}, "success": false }
But , actual output is
{ "success": false, "expectation_config": { "type": "expect_column_values_to_be_of_type", "kwargs": { "batch_id": "spark_data_source-my_data_asset", "column": "Location", "type_": "IntegerType" }, "meta": {} }, "result": { "observed_value": "StringType" }, "meta": {}, "exception_info": { "raised_exception": false, "exception_traceback": null, "exception_message": null } }
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: