Skip to content

Instantly share code, notes, and snippets.

@AshHimself
Created September 18, 2020 14:39
Show Gist options
  • Save AshHimself/8b26c5fb88e7bad0dfd73a59fa84aadf to your computer and use it in GitHub Desktop.
Save AshHimself/8b26c5fb88e7bad0dfd73a59fa84aadf to your computer and use it in GitHub Desktop.
part_4_json_output.json
{
"success": false,
"results": [
{
"expectation_config": {
"kwargs": {
"column_list": [
"flight_number",
"date",
"time_utc",
"booster_version",
"launch_site",
"payload",
"customer",
"outcome"
],
"result_format": "BASIC"
},
"expectation_type": "expect_table_columns_to_match_ordered_list",
"meta": {}
},
"success": false,
"result": {
"observed_value": [
"flight_number",
"date",
"time_utc",
"booster_version",
"launch_site",
"payload",
"customer",
"mission outcome"
],
"details": {
"mismatched": [
{
"Expected Column Position": 7,
"Expected": "outcome",
"Found": "mission outcome"
}
]
}
},
"exception_info": {
"raised_exception": false,
"exception_message": null,
"exception_traceback": null
},
"meta": {}
},
{
"expectation_config": {
"kwargs": {
"column": "flight_number",
"result_format": "BASIC"
},
"expectation_type": "expect_column_values_to_be_unique",
"meta": {}
},
"success": true,
"result": {
"element_count": 57,
"missing_count": 0,
"missing_percent": 0.0,
"unexpected_count": 0,
"unexpected_percent": 0.0,
"unexpected_percent_nonmissing": 0.0,
"partial_unexpected_list": []
},
"exception_info": {
"raised_exception": false,
"exception_message": null,
"exception_traceback": null
},
"meta": {}
},
{
"expectation_config": {
"kwargs": {
"column": "flight_number",
"result_format": "BASIC"
},
"expectation_type": "expect_column_values_to_not_be_null",
"meta": {}
},
"success": true,
"result": {
"element_count": 57,
"unexpected_count": 0,
"unexpected_percent": 0.0,
"partial_unexpected_list": []
},
"exception_info": {
"raised_exception": false,
"exception_message": null,
"exception_traceback": null
},
"meta": {}
},
{
"expectation_config": {
"kwargs": {
"column": "flight_number",
"type_": "int64",
"result_format": "BASIC"
},
"expectation_type": "expect_column_values_to_be_of_type",
"meta": {}
},
"success": false,
"result": {
"element_count": 57,
"missing_count": 0,
"missing_percent": 0.0,
"unexpected_count": 57,
"unexpected_percent": 100.0,
"unexpected_percent_nonmissing": 100.0,
"partial_unexpected_list": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20"
]
},
"exception_info": {
"raised_exception": false,
"exception_message": null,
"exception_traceback": null
},
"meta": {}
}
],
"evaluation_parameters": {},
"statistics": {
"evaluated_expectations": 4,
"successful_expectations": 2,
"unsuccessful_expectations": 2,
"success_percent": 50.0
},
"meta": {
"great_expectations_version": "0.12.1",
"expectation_suite_name": "default",
"run_id": {
"run_time": "2020-09-18T14:36:30.761475+00:00",
"run_name": null
},
"batch_kwargs": {
"ge_batch_id": "57982750-f9bc-11ea-a2fb-38f9d3381a53"
},
"batch_markers": {},
"batch_parameters": {},
"validation_time": "20200918T143630.761156Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment