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

Method Init

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

Source from the content-addressed store, hash-verified

1558 using GetSet = GroupedValueTraits<Type>;
1559
1560 Status Init(ExecContext* ctx, const KernelInitArgs&) override {
1561 // out_type_ initialized by GroupedOneInit
1562 ones_ = TypedBufferBuilder<CType>(ctx->memory_pool());
1563 has_one_ = TypedBufferBuilder<bool>(ctx->memory_pool());
1564 return Status::OK();
1565 }
1566
1567 Status Resize(int64_t new_num_groups) override {
1568 auto added_groups = new_num_groups - num_groups_;

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50
memory_poolMethod · 0.45

Tested by

no test coverage detected