Update src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp

Co-authored-by: pufit <pufit@yandex.ru>
This commit is contained in:
Anton Kozlov 2023-08-31 14:05:28 +01:00 committed by GitHub
parent a5b6a91b54
commit e6895688d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ void MergeTreeIndexAggregatorBloomFilter::update(const Block & block, size_t * p
const auto & column_and_type = block.getByName(index_columns_name[column]);
auto index_column = BloomFilterHash::hashWithColumn(column_and_type.type, column_and_type.column, *pos, max_read_rows);
const auto &index_col = checkAndGetColumn<ColumnUInt64>(index_column.get());
const auto & index_col = checkAndGetColumn<ColumnUInt64>(index_column.get());
const auto & index_data = index_col->getData();
for (const auto &hash: index_data)
column_hashes[column].insert(hash);