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

Method Consume

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

Source from the content-addressed store, hash-verified

454 }
455
456 Status Consume(KernelContext*, const ExecSpan& batch) override {
457 if (batch[0].is_array()) {
458 return ConsumeArray(batch[0].array);
459 }
460 return ConsumeScalar(*batch[0].scalar);
461 }
462
463 Status ConsumeScalar(const Scalar& scalar) {
464 this->state.has_any_values = true;

Callers

nothing calls this directly

Calls 1

is_arrayMethod · 0.80

Tested by

no test coverage detected