diff --git a/data/processors/export.py b/data/processors/export.py index fefb889d9..966127497 100644 --- a/data/processors/export.py +++ b/data/processors/export.py @@ -173,7 +173,7 @@ def export_for_api(data: dict) -> None: _make_sure_is_safe(export_data) with (OUTPUT_DIR_PATH / "api_data.json").open("w", encoding="utf-8") as file: json.dump(export_data, file, cls=EnhancedJSONEncoder) - df = pl.read_json(OUTPUT_DIR_PATH / "api_data.json") + df = pl.read_json(OUTPUT_DIR_PATH / "api_data.json", infer_schema_length=1024) df.write_parquet(OUTPUT_DIR_PATH / "api_data.parquet", use_pyarrow=True, compression_level=22)