Skip to main content

read_properties

Function read_properties 

Source
pub fn read_properties(
    dir: &Path,
    stem: &str,
) -> Result<Vec<RecordBatch>, DataFusionError>
Expand description

Read properties/<stem>.parquet for the project at dir, discovering its (dynamic) schema from the file. Returns an empty Vec when the file is absent — so a caller decoding rows sees zero pre-existing property rows.

Production reads go through the staged-batch read-through in writer (#792); the node-hydration path (nodes(p), #1024) also reads through it.

§Errors

Propagates Parquet / Arrow errors encountered while reading.