def METHOD_NAME(duckdb_url_data):
    control = formats.SqlControl(table="table")
    with TableResource(path=duckdb_url_data, control=control) as resource:
        assert resource.schema.to_descriptor() == {
            "fields": [
                {"name": "id", "type": "integer", "constraints": {"required": True}},
                {"name": "name", "type": "string"},
            ],
            # TODO: add indicies support
            # DuckDBEngineWarning: duckdb-engine doesn't yet support reflection on indices
            # https://github.com/Mause/duckdb_engine/blob/71b1ed2f63dc25a848995986401be765711d763d/duckdb_engine/__init__.py#L159
            #  "primaryKey": ["id"],
        }
        assert resource.header == ["id", "name"]
        assert resource.read_rows() == [
            {"id": 1, "name": "english"},
            {"id": 2, "name": "中国人"},
        ]