mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
Remove wrong assertion from SSDComplexKeyCacheDictionary
This commit is contained in:
parent
012227daed
commit
182f9fbdca
@ -1467,7 +1467,6 @@ void SSDComplexKeyCacheDictionary::getItemsNumberImpl(
|
|||||||
{
|
{
|
||||||
assert(dict_struct.key);
|
assert(dict_struct.key);
|
||||||
assert(key_columns.size() == key_types.size());
|
assert(key_columns.size() == key_types.size());
|
||||||
assert(key_columns.size() == dict_struct.key->size());
|
|
||||||
|
|
||||||
dict_struct.validateKeyTypes(key_types);
|
dict_struct.validateKeyTypes(key_types);
|
||||||
|
|
||||||
|
@ -62,6 +62,8 @@ SELECT dictGetUInt64('database_for_dict.ssd_dict', 'a', tuple('10', toInt32(-20)
|
|||||||
SELECT dictGetInt32('database_for_dict.ssd_dict', 'b', tuple('10', toInt32(-20)));
|
SELECT dictGetInt32('database_for_dict.ssd_dict', 'b', tuple('10', toInt32(-20)));
|
||||||
SELECT dictGetString('database_for_dict.ssd_dict', 'c', tuple('10', toInt32(-20)));
|
SELECT dictGetString('database_for_dict.ssd_dict', 'c', tuple('10', toInt32(-20)));
|
||||||
|
|
||||||
|
SELECT dictGetUInt64('database_for_dict.ssd_dict', 'a', tuple(toInt32(3))); --{serverError 53}
|
||||||
|
|
||||||
DROP DICTIONARY database_for_dict.ssd_dict;
|
DROP DICTIONARY database_for_dict.ssd_dict;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS database_for_dict.keys_table;
|
DROP TABLE IF EXISTS database_for_dict.keys_table;
|
||||||
|
Loading…
Reference in New Issue
Block a user