lquerel opened a new pull request, #13574: URL: https://github.com/apache/arrow/pull/13574
Currently, the `NewStructBuilder` constructor takes a struct data type and creates the constructor hierarchy itself. While interesting in most cases, this approach is not easy to integrate with some libraries. This PR introduces a new constructor `UnsafeNewStructBuilderFromFields`. `UnsafeNewStructBuilderFromFields` returns a builder, using the provided memory allocator, the corresponding initialized fields and constructors. This method is unsafe because the caller must ensure that the fields and constructors are compatible and that the builders have the same length. Use case: Can be used by libraries that implement their own Arrow builders tree and ensure the validation of fields and builders by themselves. Jira issue: https://issues.apache.org/jira/browse/ARROW-17040 -- 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