diff --git a/be/src/vec/common/uint128.h b/be/src/vec/common/uint128.h index 540323c264..a9c30328ab 100644 --- a/be/src/vec/common/uint128.h +++ b/be/src/vec/common/uint128.h @@ -177,7 +177,7 @@ struct UInt136 { UInt64 b; UInt64 c; - bool operator==(const UInt136 rhs) const { return a == rhs.a && b == rhs.b && c == rhs.c; } + bool operator==(const UInt136& rhs) const { return a == rhs.a && b == rhs.b && c == rhs.c; } }; #pragma pack() diff --git a/be/src/vec/exec/distinct_vaggregation_node.cpp b/be/src/vec/exec/distinct_vaggregation_node.cpp index 0943901032..bacfb91e96 100644 --- a/be/src/vec/exec/distinct_vaggregation_node.cpp +++ b/be/src/vec/exec/distinct_vaggregation_node.cpp @@ -35,7 +35,6 @@ DistinctAggregationNode::DistinctAggregationNode(ObjectPool* pool, const TPlanNo Status DistinctAggregationNode::_distinct_pre_agg_with_serialized_key( doris::vectorized::Block* in_block, doris::vectorized::Block* out_block) { - SCOPED_TIMER(_exec_timer); DCHECK(!_probe_expr_ctxs.empty()); size_t key_size = _probe_expr_ctxs.size(); @@ -59,6 +58,7 @@ Status DistinctAggregationNode::_distinct_pre_agg_with_serialized_key( RETURN_IF_CATCH_EXCEPTION( _emplace_into_hash_table_to_distinct(_distinct_row, key_columns, rows)); + SCOPED_TIMER(_insert_keys_to_column_timer); bool mem_reuse = _make_nullable_keys.empty() && out_block->mem_reuse(); if (mem_reuse) { for (int i = 0; i < key_size; ++i) { diff --git a/be/src/vec/exec/vaggregation_node.h b/be/src/vec/exec/vaggregation_node.h index 30eb8aa9d3..bbb0ea6201 100644 --- a/be/src/vec/exec/vaggregation_node.h +++ b/be/src/vec/exec/vaggregation_node.h @@ -437,6 +437,7 @@ protected: RuntimeProfile::Counter* _hash_table_emplace_timer = nullptr; RuntimeProfile::Counter* _hash_table_input_counter = nullptr; RuntimeProfile::Counter* _expr_timer = nullptr; + RuntimeProfile::Counter* _insert_keys_to_column_timer = nullptr; private: friend class pipeline::AggSinkOperator; @@ -479,7 +480,6 @@ private: RuntimeProfile::Counter* _serialize_result_timer = nullptr; RuntimeProfile::Counter* _deserialize_data_timer = nullptr; RuntimeProfile::Counter* _hash_table_iterate_timer = nullptr; - RuntimeProfile::Counter* _insert_keys_to_column_timer = nullptr; RuntimeProfile::Counter* _streaming_agg_timer = nullptr; RuntimeProfile::Counter* _hash_table_size_counter = nullptr; RuntimeProfile::Counter* _max_row_size_counter = nullptr;