Allow creation of StringArrays from Vec<String> #519
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The usecase is I have a Vec of derived
String
values but I can not create a StringArray from themDescribe the solution you'd like
I would like to be able to run:
For any
v
that has things that can be borrowed asstr
orOption<str>
(includingString
and others) rather than onlystr
).It looks like there is some attempt to be able to do this already: https://github.com/apache/arrow-rs/blob/master/arrow/src/array/array_string.rs#L208 but it isn't clear to me why it doesn't work
Additional context
Here is an example
The text was updated successfully, but these errors were encountered: