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

Method MinMaxImpl

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

Source from the content-addressed store, hash-verified

779 using StateType = MinMaxState<ArrowType, SimdLevel>;
780
781 MinMaxImpl(std::shared_ptr<DataType> out_type, ScalarAggregateOptions options)
782 : out_type(std::move(out_type)), options(std::move(options)), count(0) {
783 this->options.min_count = std::max<uint32_t>(1, this->options.min_count);
784 }
785
786 Status Consume(KernelContext*, const ExecSpan& batch) override {
787 if (batch[0].is_array()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected