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

Function AddMapCast

cpp/src/arrow/compute/kernels/scalar_cast_nested.cc:473–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471
472template <typename DestType>
473void AddMapCast(CastFunction* func) {
474 ScalarKernel kernel;
475 kernel.exec = CastMap<DestType>::Exec;
476 kernel.signature =
477 KernelSignature::Make({InputType(MapType::type_id)}, kOutputTargetType);
478 kernel.null_handling = NullHandling::COMPUTED_NO_PREALLOCATE;
479 DCHECK_OK(func->AddKernel(MapType::type_id, std::move(kernel)));
480}
481
482} // namespace
483

Callers

nothing calls this directly

Calls 3

InputTypeFunction · 0.85
MakeFunction · 0.50
AddKernelMethod · 0.45

Tested by

no test coverage detected