Kanishk-Dendukuri opened a new pull request, #50809: URL: https://github.com/apache/arrow/pull/50809
### Rationale for this change replace_with_indices implements a SetItem kernel that overwrites elements of an array at positions given by an integer index array. It is the index based counterpart to the existing mask-based replace_with_mask. ### What changes are included in this PR? New replace_with_indices vector kernel with docs and benchmarks. Replacement i is written to position indices[i]. duplicate indices keep the last write, null indices are ignored, and out of bounds or negative indices raise an error. ### Are these changes tested? Yes. C++ typed tests, randomized cross check against a naive reference, and Python tests. ### Are there any user-facing changes? Yes. Its a new public compute function. No changes to existing functions. ### AI Usage Parts of the code, tests, and this description were written with AI assistance. Closes #25505 -- 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]
