def METHOD_NAME():
    data = [{"id": 1}, {"id": 2, "name": "中国人"}]
    schema = {
        "fields": [{"name": "id", "type": "integer"}, {"name": "name", "type": "string"}]
    }
    with TableResource(data=data, schema=Schema.from_descriptor(schema)) as resource:
        assert resource.read_rows() == [
            {"id": 1, "name": None},
            {"id": 2, "name": "中国人"},
        ]