Skip to main content

get_path_from_bytes

Function get_path_from_bytes 

Source
fn get_path_from_bytes(
    target: &VariantArray,
    path: &[VariantPathElement<'_>],
    as_type: Option<&DataType>,
    cast_options: &CastOptions<'_>,
) -> Result<ArrayRef>
Expand description

Extracts path from an unshredded variant column, reading each row’s encoded bytes directly.

A row reads only the headers and field names along path, and decodes only the value it finds.