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

Method Finalize

cpp/src/arrow/compute/kernels/hash_aggregate.cc:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 Result<Datum> Finalize() override {
97 ARROW_ASSIGN_OR_RAISE(auto counts, counts_.Finish());
98 return std::make_shared<Int64Array>(num_groups_, std::move(counts));
99 }
100
101 std::shared_ptr<DataType> out_type() const override { return int64(); }
102

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected