Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Jul 23, 2024
1 parent 0c39d5d commit 3db45e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vegafusion-common/src/data/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self> {
// let (batches, schema) = table.into_inner();
// Ok(VegaFusionTable::try_new(schema, batches)?)
// }
#[cfg(feature = "pyarrow")]
pub fn from_arrow_c_stream(ob: &PyAny) -> PyResult<Self> {
let (batches, schema) = import_arrow_c_stream(ob)?;
Expand Down

0 comments on commit 3db45e0

Please sign in to comment.