Separate fixed key hash map context creator (#25438)
Separate fixed key hash map context creator
This commit is contained in:
@ -87,8 +87,8 @@ void DistinctAggregationNode::_emplace_into_hash_table_to_distinct(IColumn::Sele
|
||||
SCOPED_TIMER(_hash_table_compute_timer);
|
||||
using HashMethodType = std::decay_t<decltype(agg_method)>;
|
||||
using AggState = typename HashMethodType::State;
|
||||
AggState state(key_columns, _probe_key_sz);
|
||||
agg_method.init_serialized_keys(key_columns, _probe_key_sz, num_rows);
|
||||
AggState state(key_columns);
|
||||
agg_method.init_serialized_keys(key_columns, num_rows);
|
||||
|
||||
size_t row = 0;
|
||||
auto creator = [&](const auto& ctor, auto& key, auto& origin) {
|
||||
|
||||
Reference in New Issue
Block a user