Skip to main content

arrow_array_from_values

Function arrow_array_from_values 

Source
pub fn arrow_array_from_values(values: &[Value]) -> ArrayRef
Expand description

Build an Arrow ArrayRef from a Vec<Value>, recursively handling primitives, List, Struct and Map values.

This is the inverse of convert_arrow_scalar and is used by the scan / projection paths to emit complex-typed columns (e.g. FLOAT[], {..} literals) without going through a ValueVector (which has no side-storage for variable-length List/Struct payloads).