This commit is contained in:
Nikita Taranov 2022-06-25 01:32:21 +02:00
parent c476427422
commit 6639d94125
3 changed files with 10 additions and 2 deletions

View File

@ -156,7 +156,7 @@ struct StringHashTableGrower : public HashTableGrower<initial_size_degree>
void increaseSize()
{
this->size_degree += 1;
HashTableGrower<initial_size_degree>::updateCachedValues();
this->updateCachedValues();
}
};

View File

@ -21,7 +21,7 @@ struct TwoLevelHashTableGrower : public HashTableGrower<initial_size_degree>
void increaseSize()
{
this->size_degree += this->size_degree >= 15 ? 1 : 2;
HashTableGrower<initial_size_degree>::updateCachedValues();
this->updateCachedValues();
}
};

View File

@ -0,0 +1,8 @@
<test>
<query>select * from numbers_mt(200) group by number format Null</query>
<query>select * from numbers_mt(1e4) group by number format Null</query>
<query>select * from numbers_mt(1e5) group by number format Null</query>
<query>select * from numbers_mt(1e6) group by number format Null</query>
<query>select * from numbers_mt(1e7) group by number format Null</query>
<query>select * from numbers_mt(1e8) group by number format Null</query>
</test>