From 3db45e071407ad4b72557b7a62eacbea686deb04 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Tue, 23 Jul 2024 12:26:30 -0400 Subject: [PATCH] add comment --- vegafusion-common/src/data/table.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vegafusion-common/src/data/table.rs b/vegafusion-common/src/data/table.rs index 6d48f876..9b5ab82a 100644 --- a/vegafusion-common/src/data/table.rs +++ b/vegafusion-common/src/data/table.rs @@ -269,6 +269,11 @@ impl VegaFusionTable { } } + // TODO: when updated to latest arrow version, the below function can change to + // pub fn from_arrow_c_stream(table: pyo3_arrow::PyTable) -> PyResult { + // let (batches, schema) = table.into_inner(); + // Ok(VegaFusionTable::try_new(schema, batches)?) + // } #[cfg(feature = "pyarrow")] pub fn from_arrow_c_stream(ob: &PyAny) -> PyResult { let (batches, schema) = import_arrow_c_stream(ob)?;