| 256 | } |
| 257 | |
| 258 | static Status Exec(KernelContext* ctx, const ExecSpan& span, ExecResult* result) { |
| 259 | DCHECK_EQ(span.num_values(), 1); |
| 260 | DCHECK(span[0].is_array()); |
| 261 | const auto& indices = span[0].array; |
| 262 | ARROW_ASSIGN_OR_RAISE( |
| 263 | result->value, InversePermutationImpl<ThisType>::Exec( |
| 264 | ctx, indices, indices.length, indices.type->GetSharedPtr())); |
| 265 | return Status::OK(); |
| 266 | } |
| 267 | }; |
| 268 | |
| 269 | template <typename Ignored, typename Type> |
nothing calls this directly
no test coverage detected