You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataType::Utf8View => {
let list = array.as_string_view();
let v = list.views().iter().map(|v| *v as i32).collect::<Vec<_>>();
Ok(Arc::new(PrimitiveArray::<Int32Type>::new(v.into(), list.nulls().cloned())))
}
```
however I don't know if that would perform as best as possible.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This came up as a result of a bug report in DataFusion: apache/datafusion#12149 where
length(StringViewArray)
throws an error.Describe the solution you'd like
The length function has StringViewArray support added and tests added to cover this case.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: