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

   # Which issue does this PR close?
   
   - Closes https://github.com/apache/arrow-rs/issues/7696
   
   This PR was based off of two prior commits, 
https://github.com/apache/arrow-rs/pull/7720 and 
https://github.com/apache/arrow-rs/issues/7730. This PR starts from the third 
commit.
   
   # Rationale for this change
   
   Heavily refactors `VariantBuilder`, `ObjectBuilder`, and `ListBuilder` to 
allow nested list and object building.
   
   Now, `ObjectBuilder` and `ListBuilder` have their own `VariantBuffer`, an 
intermediate buffer that gets written to upon every call to `insert` or 
`append_value`. Only when `finish` is called will the builder flush the 
intermediate buffer to its parent buffer. 
   
   `VariantBuilder` was split to hold `VariantBuffer` and 
`FieldMetadataDictionary` to better simplify and separate the nesting logic.


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