| 664 | } |
| 665 | |
| 666 | Status UniqueFinalizeDictionary(KernelContext* ctx, std::vector<Datum>* out) { |
| 667 | RETURN_NOT_OK(UniqueFinalize(ctx, out)); |
| 668 | auto hash = checked_cast<DictionaryHashKernel*>(ctx->state()); |
| 669 | ARROW_ASSIGN_OR_RAISE((*out)[0].mutable_array()->dictionary, |
| 670 | EnsureHashDictionary(ctx, hash)); |
| 671 | return Status::OK(); |
| 672 | } |
| 673 | |
| 674 | Status ValueCountsFinalizeDictionary(KernelContext* ctx, std::vector<Datum>* out) { |
| 675 | auto hash = checked_cast<DictionaryHashKernel*>(ctx->state()); |
nothing calls this directly
no test coverage detected