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

Method MergeFrom

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

Source from the content-addressed store, hash-verified

81 }
82
83 Status MergeFrom(KernelContext*, KernelState&& src) override {
84 const auto& other_state = checked_cast<const CountAllImpl&>(src);
85 this->count += other_state.count;
86 return Status::OK();
87 }
88
89 Status Finalize(KernelContext* ctx, Datum* out) override {
90 const auto& state = checked_cast<const CountAllImpl&>(*ctx->state());

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected