Skip to main content

read_nodes

Function read_nodes 

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

Read all node rows from topology/nodes.parquet in the project at dir.

Returns a single (possibly empty) RecordBatch with TOPOLOGY_NODES_SCHEMA; a missing file yields an empty batch.

ยงErrors

Propagates Parquet / Arrow errors encountered while reading.