From 1a035e207331bc7f02c94922732393c66b6514f6 Mon Sep 17 00:00:00 2001 From: spaces-x Date: Thu, 17 Nov 2022 22:30:21 +0800 Subject: [PATCH] [fix](profile)(AggNode) fix the GetResultsTime is always zero (#14366) add scoped_timer in _serialize_with_serialized_key_result --- be/src/vec/exec/vaggregation_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/vec/exec/vaggregation_node.cpp b/be/src/vec/exec/vaggregation_node.cpp index 3bb955fe1e..a4ae3cd18a 100644 --- a/be/src/vec/exec/vaggregation_node.cpp +++ b/be/src/vec/exec/vaggregation_node.cpp @@ -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();