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

Function ModeType

cpp/src/arrow/compute/kernels/aggregate_mode.cc:447–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445};
446
447Result<TypeHolder> ModeType(KernelContext*, const std::vector<TypeHolder>& types) {
448 return struct_(
449 {field(kModeFieldName, types[0].GetSharedPtr()), field(kCountFieldName, int64())});
450}
451
452VectorKernel NewModeKernel(const std::shared_ptr<DataType>& in_type, ArrayKernelExec exec,
453 VectorKernel::ChunkedExec exec_chunked) {

Callers

nothing calls this directly

Calls 2

struct_Function · 0.85
fieldFunction · 0.50

Tested by

no test coverage detected