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

Method Init

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

Source from the content-addressed store, hash-verified

106
107struct GroupedCountImpl : public GroupedAggregator {
108 Status Init(ExecContext* ctx, const KernelInitArgs& args) override {
109 options_ = checked_cast<const CountOptions&>(*args.options);
110 counts_ = BufferBuilder(ctx->memory_pool());
111 return Status::OK();
112 }
113
114 Status Resize(int64_t new_num_groups) override {
115 auto added_groups = new_num_groups - num_groups_;

Callers

nothing calls this directly

Calls 3

BufferBuilderFunction · 0.85
OKFunction · 0.50
memory_poolMethod · 0.45

Tested by

no test coverage detected