[Improvement](hash) some refactor of process hash table probe impl (#24461)

some refactor of process hash table probe impl
This commit is contained in:
Pxl
2023-09-27 16:14:49 +08:00
committed by GitHub
parent 83f5ff7b22
commit 5fc04b6aeb
23 changed files with 791 additions and 1255 deletions

View File

@ -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);
}