| 602 | } |
| 603 | |
| 604 | Status HashExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |
| 605 | auto hash_impl = checked_cast<HashKernel*>(ctx->state()); |
| 606 | RETURN_NOT_OK(hash_impl->Append(ctx, batch[0].array)); |
| 607 | RETURN_NOT_OK(hash_impl->Flush(out)); |
| 608 | return Status::OK(); |
| 609 | } |
| 610 | |
| 611 | Status UniqueFinalize(KernelContext* ctx, std::vector<Datum>* out) { |
| 612 | auto hash_impl = checked_cast<HashKernel*>(ctx->state()); |