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

Function SumInit

cpp/src/arrow/compute/kernels/aggregate_basic.cc:283–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281};
282
283Result<std::unique_ptr<KernelState>> SumInit(KernelContext* ctx,
284 const KernelInitArgs& args) {
285 SumLikeInit<SumImplDefault> visitor(
286 ctx, args.inputs[0].GetSharedPtr(),
287 static_cast<const ScalarAggregateOptions&>(*args.options));
288 return visitor.Create();
289}
290
291// ----------------------------------------------------------------------
292// Mean implementation

Callers

nothing calls this directly

Calls 1

CreateMethod · 0.45

Tested by

no test coverage detected