diff --git a/dbms/src/AggregateFunctions/AggregateFunctionUniq.h b/dbms/src/AggregateFunctions/AggregateFunctionUniq.h index 690fa330693..51ee93024d1 100644 --- a/dbms/src/AggregateFunctions/AggregateFunctionUniq.h +++ b/dbms/src/AggregateFunctions/AggregateFunctionUniq.h @@ -86,12 +86,11 @@ struct AggregateFunctionUniqExactData using Key = T; /// When creating, the hash table must be small. - typedef HashSet< + using Set = HashSet< Key, HashCRC32, HashTableGrower<4>, - HashTableAllocatorWithStackMemory - > Set; + HashTableAllocatorWithStackMemory>; Set set; @@ -105,12 +104,11 @@ struct AggregateFunctionUniqExactData using Key = UInt128; /// When creating, the hash table must be small. - typedef HashSet< + using Set = HashSet< Key, UInt128TrivialHash, HashTableGrower<3>, - HashTableAllocatorWithStackMemory - > Set; + HashTableAllocatorWithStackMemory>; Set set;