You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2020/12/14 18:54:00 UTC

[jira] [Created] (ARROW-10903) [Rust] Implement FromIter>> constructor for FixedSizeBinaryArray

Andrew Lamb created ARROW-10903:
-----------------------------------

             Summary: [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
            Reporter: Andrew Lamb


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)