fn convert_array_string()

in azure-kusto-data/src/arrow.rs [19:23]


fn convert_array_string(values: Vec<Value>) -> Result<ArrayRef> {
    let strings: Vec<Option<String>> = serde_json::from_value(Value::Array(values))?;
    let strings: Vec<Option<&str>> = strings.iter().map(Option::as_deref).collect();
    Ok(Arc::new(StringArray::from(strings)))
}