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

Method MergeFrom

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

Source from the content-addressed store, hash-verified

520 }
521
522 Status MergeFrom(KernelContext*, KernelState&& src) override {
523 const auto& other = checked_cast<const ThisType&>(src);
524 this->state += other.state;
525 this->count += other.count;
526 return Status::OK();
527 }
528
529 Status Finalize(KernelContext*, Datum* out) override {
530 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