Skip to content

[Rust] Implement FromIter<Option<Vec<u8>>> constructor for FixedSizeBinaryArray #26835

@asfimport

Description

@asfimport

Context: #8853 (comment) suggestion by @jorgecarleitao

Basically, the goal would be to remove

impl From<Vec<Option<Vec<u8>>>> for FixedSizeBinaryArray {

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).

Reporter: Andrew Lamb / @alamb
Assignee: Ivan Vankov / @ivanvankov

PRs and other links:

Note: This issue was originally created as ARROW-10903. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions