From 39e14c70c50315655b84c8a43eb2760e849851a7 Mon Sep 17 00:00:00 2001 From: Chang She <759245+changhiskhan@users.noreply.github.com> Date: Tue, 16 Jan 2024 19:11:16 -0800 Subject: [PATCH] chore(python): turn off lazy frame ingestion (#821) --- python/lancedb/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lancedb/table.py b/python/lancedb/table.py index 0cc647e3..39d1ef74 100644 --- a/python/lancedb/table.py +++ b/python/lancedb/table.py @@ -73,7 +73,7 @@ def _sanitize_data( meta = data.schema.metadata if data.schema.metadata is not None else {} meta = {k: v for k, v in meta.items() if k != b"pandas"} data = data.replace_schema_metadata(meta) - elif pl is not None and isinstance(data, (pl.DataFrame, pl.LazyFrame)): + elif pl is not None and isinstance(data, pl.DataFrame): data = data.to_arrow() if isinstance(data, pa.Table):