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

Method MergeFrom

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

Source from the content-addressed store, hash-verified

635 }
636
637 Status MergeFrom(KernelContext*, KernelState&& src) override {
638 const auto& other = checked_cast<const BooleanAllImpl&>(src);
639 this->all &= other.all;
640 this->has_nulls |= other.has_nulls;
641 this->count += other.count;
642 return Status::OK();
643 }
644
645 Status Finalize(KernelContext*, Datum* out) override {
646 if ((!options.skip_nulls && this->all && this->has_nulls) ||

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected