type::Value AbstractAttributeAggregator::Finalize() { if (is_distinct_) { for (auto val : distinct_set_) { DAdvance(val); } } return DFinalize(); }
common::Value Agg::Finalize() { if (is_distinct_) { for (auto val : distinct_set_) { DAdvance(val); } } return DFinalize(); }