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

Method MergeFrom

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

Source from the content-addressed store, hash-verified

85 }
86
87 Status MergeFrom(KernelContext*, KernelState&& src) override {
88 const auto& other = checked_cast<const ThisType&>(src);
89 this->count += other.count;
90 this->sum += other.sum;
91 this->nulls_observed = this->nulls_observed || other.nulls_observed;
92 return Status::OK();
93 }
94
95 Status Finalize(KernelContext*, Datum* out) override {
96 if ((!options.skip_nulls && this->nulls_observed) ||

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected