Files
tadejaandRossi Sun 7de2f61762 GH-48167: [Python][C++][Compute] Add python bindings for scatter, inverse_permutation (#48267)
### 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>
2025-12-29 15:14:36 +08:00
..