| 954 | |
| 955 | template <typename Impl> |
| 956 | Status TakeExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |
| 957 | if (TakeState::Get(ctx).boundscheck) { |
| 958 | RETURN_NOT_OK(CheckIndexBounds(batch[1].array, batch[0].length())); |
| 959 | } |
| 960 | Impl kernel(ctx, batch, /*output_length=*/batch[1].length(), out); |
| 961 | return kernel.ExecTake(); |
| 962 | } |
| 963 | |
| 964 | } // namespace |
| 965 |
nothing calls this directly
no test coverage detected