mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
### Rationale for this change To close or discuss #48167 `inverse_permutation` and `scatter` functions got implemented via #44393, PR #44394. ### What changes are included in this PR? Python tests for `scatter`, `inverse_permutation` kernels and bindings for `InversePermutationOptions` and `ScatterOptions`. ### Are these changes tested? Yes, tests added in test_compute.py. ### Are there any user-facing changes? Bindings for `InversePermutationOptions` and `ScatterOptions` are added. #### This PR includes breaking changes to public APIs. Options `InversePermutationOptions` changed from accepting parameter `std::shared_ptr<DataType> output_type = NULLPTR` to `std::optional<std::shared_ptr<DataType>> output_type = std::nullopt` * GitHub Issue: #48167 Lead-authored-by: Tadeja Kadunc <tadeja.kadunc@gmail.com> Co-authored-by: Rossi Sun <zanmato1984@gmail.com> Co-authored-by: tadeja <tadeja@users.noreply.github.com> Signed-off-by: Rossi Sun <zanmato1984@gmail.com>