| 272 | } |
| 273 | |
| 274 | Status IndicesNonZeroExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |
| 275 | std::shared_ptr<ArrayData> result; |
| 276 | RETURN_NOT_OK(DoNonZero({batch[0].array}, batch.length, &result)); |
| 277 | out->value = std::move(result); |
| 278 | return Status::OK(); |
| 279 | } |
| 280 | |
| 281 | Status IndicesNonZeroExecChunked(KernelContext* ctx, const ExecBatch& batch, Datum* out) { |
| 282 | const ChunkedArray& arr = *batch[0].chunked_array(); |