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

Method Init

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

Source from the content-addressed store, hash-verified

1399
1400struct GroupedCountDistinctImpl : public GroupedAggregator {
1401 Status Init(ExecContext* ctx, const KernelInitArgs& args) override {
1402 ctx_ = ctx;
1403 pool_ = ctx->memory_pool();
1404 options_ = checked_cast<const CountOptions&>(*args.options);
1405 return Status::OK();
1406 }
1407
1408 Status Resize(int64_t new_num_groups) override {
1409 num_groups_ = new_num_groups;

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50
memory_poolMethod · 0.45

Tested by

no test coverage detected