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

Method Resize

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

Source from the content-addressed store, hash-verified

65 }
66
67 Status Resize(int64_t new_num_groups) override {
68 auto added_groups = new_num_groups - num_groups_;
69 num_groups_ = new_num_groups;
70 return counts_.Append(added_groups * sizeof(int64_t), 0);
71 }
72
73 Status Merge(GroupedAggregator&& raw_other,
74 const ArrayData& group_id_mapping) override {

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected