[
https://issues.apache.org/jira/browse/ARROW-10903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Lamb updated ARROW-10903:
--------------------------------
Component/s: Rust
> [Rust] Implement FromIter<Option<Vec<u8>>> constructor for
> FixedSizeBinaryArray
> -------------------------------------------------------------------------------
>
> Key: ARROW-10903
> URL: https://issues.apache.org/jira/browse/ARROW-10903
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: Andrew Lamb
> Priority: Minor
>
> Context: https://github.com/apache/arrow/pull/8853#discussion_r542189448
> suggestion by [~jorgecarleitao]
> Basically, the goal would be to remove
> {code}
> impl From<Vec<Option<Vec<u8>>>> for FixedSizeBinaryArray {
> {code}
> Which while mostly used in tests, panics in certain situations.
> Goal would be to replace that implementation with a `FromIter` implementation
> which is more performance, more general, and has the same ergonomics
> (from(vec![].into_iter()) instead of from(vec![...]) for a vector).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)