Fixed tests

This commit is contained in:
Maksim Kita 2022-01-20 13:36:12 +00:00
parent 844eb4ccdc
commit 97605b7c9c

View File

@ -537,7 +537,7 @@ void RangeHashedDictionary<dictionary_key_type>::blockToAttributes(const Block &
if constexpr (std::is_same_v<KeyType, StringRef>) if constexpr (std::is_same_v<KeyType, StringRef>)
key = copyStringInArena(string_arena, key); key = copyStringInArena(string_arena, key);
if (likely(lower_bound < upper_bound)) if (likely(lower_bound <= upper_bound))
setAttributeValue(attribute, key, RangeInterval{lower_bound, upper_bound}, attribute_column[key_index]); setAttributeValue(attribute, key, RangeInterval{lower_bound, upper_bound}, attribute_column[key_index]);
keys_extractor.rollbackCurrentKey(); keys_extractor.rollbackCurrentKey();