Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10903

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

    XMLWordPrintableJSON

Details

    Description

      Context: https://github.com/apache/arrow/pull/8853#discussion_r542189448 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).

      Attachments

        Issue Links

          Activity

            People

              ivanvankov Ivan Vankov
              alamb Andrew Lamb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m