andishgar opened a new pull request, #46317: URL: https://github.com/apache/arrow/pull/46317
### Rationale for this change As mentioned [here](https://github.com/apache/arrow/issues/46177#issuecomment-2835628516), there is no preallocation strategy for the following types in compute API: ListView, LargeListView, BinaryView, StringView, DenseUnion, SparseUnion ### What changes are included in this PR? Enable `MemAllocation::PREALLOCATE` for the types mentioned above. ### Are these changes tested? I run the relevant unit tests. ### 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org