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

Method MergeFrom

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

Source from the content-addressed store, hash-verified

825 }
826
827 Status MergeFrom(KernelContext*, KernelState&& src) override {
828 const auto& other = checked_cast<const ThisType&>(src);
829 this->state += other.state;
830 this->count += other.count;
831 return Status::OK();
832 }
833
834 Status Finalize(KernelContext*, Datum* out) override {
835 const auto& struct_type = checked_cast<const StructType&>(*out_type);

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected