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

   # Which issue does this PR close?
   
   - Part of https://github.com/apache/arrow-rs/issues/6736
   - Part of https://github.com/apache/arrow-rs/issues/7895
   
   
   # Rationale for this change
   
   As we begin to add operations on Variants stored in arrays, we need some 
better abstractions of working with those arrays
   
   This PR builds on the great work of @harshmotw-db  in 
https://github.com/apache/arrow-rs/pull/7884 to start adding t
   
   
   # What changes are included in this PR?
   
   1. Add `VariantArray` that wraps a `StructArray` and adds useful accessors
   2. Add `VariantArrayBuilder` as described in 
https://github.com/apache/arrow-rs/issues/7895 to construct `VariantArrays`
   2. rework `batch_json_string_to_variant` to use the new builder and array 
wrapper
   Note while these APIs have no shredding support yet, I think shredding can 
be added in a straightforward way
   
   # Are these changes tested?
   
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   2. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are 
they covered by existing tests)?
   
   # Are there any user-facing changes?
   
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   
   If there are any breaking changes to public APIs, please call them out.
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to