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

Method MergeFrom

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

Source from the content-addressed store, hash-verified

563 }
564
565 Status MergeFrom(KernelContext*, KernelState&& src) override {
566 const auto& other = checked_cast<const BooleanAnyImpl&>(src);
567 this->any |= other.any;
568 this->has_nulls |= other.has_nulls;
569 this->count += other.count;
570 return Status::OK();
571 }
572
573 Status Finalize(KernelContext* ctx, Datum* out) override {
574 if ((!options.skip_nulls && !this->any && this->has_nulls) ||

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected