[fix](profile)(AggNode) fix the GetResultsTime is always zero (#14366)

add scoped_timer in _serialize_with_serialized_key_result
This commit is contained in:
spaces-x
2022-11-17 22:30:21 +08:00
committed by GitHub
parent 50bfd99b59
commit 1a035e2073

View File

@ -1198,6 +1198,7 @@ Status AggregationNode::_serialize_with_serialized_key_result(RuntimeState* stat
}
}
SCOPED_TIMER(_get_results_timer);
std::visit(
[&](auto&& agg_method) -> void {
agg_method.init_once();