tustvold commented on issue #2696:
URL: https://github.com/apache/arrow-rs/issues/2696#issuecomment-1242903442
We've not implemented a NativeAdapter for StringArray yet, so you can only
collect an iterator of `Option<&str>`
So
```
["A',"b"].into_iter().map(Some).collect::<StringArray>()
[Some("A'),Some("b")].into_iter().map(Some).collect::<StringArray>()
```
Alternatively you can use
https://docs.rs/arrow/22.0.0/arrow/array/struct.GenericStringArray.html#method.from_iter_values
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]