Skip to main content

build_path_struct_array

Function build_path_struct_array 

Source
pub fn build_path_struct_array(
    nodes_array: Arc<dyn Array>,
    rels_array: Arc<dyn Array>,
    path_validity: Vec<bool>,
) -> Result<StructArray, DataFusionError>
Expand description

Build a path struct array from nodes and relationships list arrays.

Combines the nodes and relationships arrays into a single StructArray with the standard path structure (nodes, relationships), applying the given validity mask.