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

Method extractSpillResult

bolt/exec/GroupingSet.cpp:1965–1978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1963 for (auto& aggregate : aggregates_) {
1964 if (!aggregate.sortingKeys.empty()) {
1965 continue;
1966 }
1967 aggregate.function->initializeNewGroups(
1968 rows.data(),
1969 folly::Range<const vector_size_t*>(
1970 groupIndicesOfRows_.data(), rows.size()));
1971 }
1972
1973 if (sortedAggregations_ != nullptr) {
1974 sortedAggregations_->initializeNewGroups(
1975 rows.data(),
1976 folly::Range<const vector_size_t*>(
1977 groupIndicesOfRows_.data(), rows.size()));
1978 }
1979}
1980
1981void GroupingSet::extractSpillResult(

Callers

nothing calls this directly

Calls 6

numRowsMethod · 0.45
emptyMethod · 0.45
listRowsMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected