Fix weakHash

This commit is contained in:
Nikolai Kochetov 2020-03-20 20:31:05 +03:00
parent 0344978634
commit 46f63c1dd8

View File

@ -238,6 +238,8 @@ void ColumnArray::updateWeakHash32(WeakHash32 & hash) const
/// But much better then xor which lead to similar hash for arrays like [1], [1, 1, 1], [1, 1, 1, 1, 1], ...
/// Much better implementation - to add offsets as an optional argument to updateWeakHash32.
hash_data[i] = intHashCRC32(internal_hash_data[row], hash_data[i]);
prev_offset = offsets_data[i];
}
}