friendlymatthew opened a new pull request, #8611:
URL: https://github.com/apache/arrow-rs/pull/8611

   # Rationale for this change
   
   This PR adds support for bulk insertion of `Option<Variant>` values into a 
`VariantArray`
   
   [Similar to other builders such as 
`GenericByteViewBuilder`](https://docs.rs/arrow/latest/arrow/array/builder/struct.GenericByteViewBuilder.html#impl-Extend%3COption%3CV%3E%3E-for-GenericByteViewBuilder%3CT%3E),
 it now implements the `Extend` trait
   
   For example:
   
   ```rs
   let mut b = VariantArrayBuilder::new(2);
   b.extend([None, Some(Variant::Null)];
   let v = b.build();
   ```
   


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