mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp
Co-authored-by: pufit <pufit@yandex.ru>
This commit is contained in:
parent
a5b6a91b54
commit
e6895688d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user