[Improvement](hash) some refactor of process hash table probe impl (#24461)
some refactor of process hash table probe impl
This commit is contained in:
@ -92,7 +92,7 @@ void DistinctAggregationNode::_emplace_into_hash_table_to_distinct(IColumn::Sele
|
||||
_pre_serialize_key_if_need(state, agg_method, key_columns, num_rows);
|
||||
|
||||
if constexpr (HashTableTraits<HashTableType>::is_phmap) {
|
||||
auto keys = state.get_keys(num_rows);
|
||||
const auto& keys = state.get_keys();
|
||||
if (_hash_values.size() < num_rows) {
|
||||
_hash_values.resize(num_rows);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user