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

Method Resize

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

Source from the content-addressed store, hash-verified

112 }
113
114 Status Resize(int64_t new_num_groups) override {
115 auto added_groups = new_num_groups - num_groups_;
116 num_groups_ = new_num_groups;
117 return counts_.Append(added_groups * sizeof(int64_t), 0);
118 }
119
120 Status Merge(GroupedAggregator&& raw_other,
121 const ArrayData& group_id_mapping) override {

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected