tustvold opened a new issue, #1841:
URL: https://github.com/apache/arrow-rs/issues/1841

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   The [Extend](https://doc.rust-lang.org/std/iter/trait.Extend.html) trait is 
a standard trait in the ecosystem for building a collection from an iterator. 
Supporting it within the builders would allow writing code like
   
   
   ```
   let foo: Int32Builder = ["a", "1"].iter().map(|x| 
Some(x.parse())).collect::<Result<_>>().unwrap()
   let strings = ["1", "2", "3"];
   
   let array = strings
       .iter()
       .map(|s| Some(s.parse()?))
       .collect::<Result<Int32Builder>>()
       .unwrap()
       .finish();
   ```
   
   **Describe the solution you'd like**
   
   Implement Extend for the Builder types
   
   **Describe alternatives you've considered**
   
   We could not do this
   


-- 
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]

Reply via email to