| 608 | } |
| 609 | |
| 610 | Status UniqueFinalize(KernelContext* ctx, std::vector<Datum>* out) { |
| 611 | auto hash_impl = checked_cast<HashKernel*>(ctx->state()); |
| 612 | std::shared_ptr<ArrayData> uniques; |
| 613 | RETURN_NOT_OK(hash_impl->GetDictionary(&uniques)); |
| 614 | *out = {Datum(uniques)}; |
| 615 | return Status::OK(); |
| 616 | } |
| 617 | |
| 618 | Status DictEncodeFinalize(KernelContext* ctx, std::vector<Datum>* out) { |
| 619 | auto hash_impl = checked_cast<HashKernel*>(ctx->state()); |
no test coverage detected