HaoYang670 opened a new pull request, #2277: URL: https://github.com/apache/arrow-rs/pull/2277
# 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. For example `Closes #123` indicates that this PR will close issue #123. --> Closes #1726. # Rationale for this change # What changes are included in this PR? We have the `from_list` (or `from_fixed_size_list`) functions in Binary array, String array, Fixed Size Binary array and Decimal array. In this PR, we 1. copy the offset of the list array to the target array. 2. consider the offset of the child array when copying the value buffer 3. Check that the child array should not have `null` values 4. Check that the list array should only contains 1 child array 5. Add more tests. # Are there any user-facing changes? No. <!-- 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 add the `breaking change` label. --> -- 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]
