harshmotw-db opened a new pull request, #7884: URL: https://github.com/apache/arrow-rs/pull/7884
# 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 #7883. # Rationale for this change Explained in the ticket. **Note:** This PR will go through changes once [this PR](https://github.com/apache/arrow-rs/pull/7862) is merged. # What changes are included in this PR? This PR introduces two new functions `batch_json_string_to_variant` and `batch_variant_to_json_string` which can be used to transform batches of JSON strings to batches of Variant structs and vice versa. This PR attempts to implement `batch_variant_to_json_string` in a zero-copy way (@alamb see if you agree) since `variant_to_json` allows an input implementing a `Write` interface. `batch_json_string_to_variant` should also eventually be zero-copy once [this issue](https://github.com/apache/arrow-rs/issues/7805) is resolved. # Are these changes tested? Simple unit tests since the underlying functions have already been tested. # Are there any user-facing changes? Yes, it introduces the `batch_json_string_to_variant` and `batch_variant_to_json_string` APIs in a new crate. -- 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