MCPcopy Create free account
hub / github.com/apache/arrow / HashExec

Function HashExec

cpp/src/arrow/compute/kernels/vector_hash.cc:604–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604Status 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
611Status UniqueFinalize(KernelContext* ctx, std::vector<Datum>* out) {
612 auto hash_impl = checked_cast<HashKernel*>(ctx->state());

Callers

nothing calls this directly

Calls 4

OKFunction · 0.50
stateMethod · 0.45
AppendMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected