MCPcopy Create free account
hub / github.com/bytedance/bolt / extractMaskChannels

Function extractMaskChannels

bolt/exec/AggregateInfo.cpp:162–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162std::vector<std::optional<column_index_t>> extractMaskChannels(
163 const std::vector<AggregateInfo>& aggregates) {
164 std::vector<std::optional<column_index_t>> masks;
165 masks.reserve(aggregates.size());
166 for (const auto& aggregate : aggregates) {
167 masks.push_back(aggregate.mask);
168 }
169 return masks;
170}
171
172} // namespace bytedance::bolt::exec

Callers 2

GroupingSetMethod · 0.85
initializeMethod · 0.85

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected