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

   # Which issue does this PR close?
   
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax.
   
   - Closes #NNN.
   
   # Rationale for this change
   
   Small code cleanups that accumulated during other work.
   
   # What changes are included in this PR?
   
   Now that `VariantToArrowRowBuilder` is an enum instead of a dyn trait, its 
`finish` method can take `self` instead of `&mut self`, which simplifies both 
its semantics and its call sites. 
   
   Additionally, pass the input length to the row builders so they can reserve 
memory accordingly.
   
   # Are these changes tested?
   
   Existing unit tests cover this code
   
   # Are there any user-facing changes?
   
   No


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