Skip to main content

values_to_arrow_array

Function values_to_arrow_array 

Source
pub fn values_to_arrow_array(
    values: &[Value],
    data_type: &DataType,
) -> Result<Arc<dyn Array>, ArrowError>
Expand description

Convert a slice of Values to an Arrow array matching the target DataType.

Value::Variant(None) (SQL NULL) entries become null in the array.