Код: Выделить всё
rule = {
"rule_name": "expect_column_values_to_be_of_type",
"parameters": [
{
"column": column,
"type_": column_type.capitalize() + "Type",
"result_format" : {"result_format": "COMPLETE"}
}
]
}
Код: Выделить всё
{
"success": true,
"expectation_config": {
"expectation_type": "expect_column_values_to_be_of_type",
"kwargs": {
"column": "id",
"type_": "IntegerType",
"batch_id": "my_spark_in_memory_datasource_poc-poc"
},
"meta": {}
},
"result": {
"observed_value": "IntegerType"
},
"meta": {},
"exception_info": {
"raised_exception": false,
"exception_traceback": null,
"exception_message": null
}
}
Код: Выделить всё
"result": {
"observed_value": "IntegerType"
}
чего может не хватать в моей конфигурации?
Подробнее здесь: https://stackoverflow.com/questions/786 ... pectations