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