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

Method Finalize

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

Source from the content-addressed store, hash-verified

970 Status MergeFrom(KernelContext*, KernelState&& src) override { return Status::OK(); }
971
972 Status Finalize(KernelContext*, Datum* out) override {
973 std::vector<std::shared_ptr<Scalar>> values{std::make_shared<NullScalar>(),
974 std::make_shared<NullScalar>()};
975 out->value = std::make_shared<StructScalar>(
976 std::move(values), struct_({field("min", null()), field("max", null())}));
977 return Status::OK();
978 }
979};
980
981template <SimdLevel::type SimdLevel>

Callers

nothing calls this directly

Calls 3

struct_Function · 0.85
fieldFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected