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

Function HashInit

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

Source from the content-addressed store, hash-verified

529// ----------------------------------------------------------------------
530template <typename HashKernel>
531Result<std::unique_ptr<KernelState>> HashInit(KernelContext* ctx,
532 const KernelInitArgs& args) {
533 auto result = std::make_unique<HashKernel>(args.inputs[0].GetSharedPtr(), args.options,
534 ctx->memory_pool());
535 RETURN_NOT_OK(result->Reset());
536 return result;
537}
538
539template <typename Action>
540KernelInit GetHashInit(Type::type type_id) {

Callers

nothing calls this directly

Calls 2

memory_poolMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected