From e6895688d742af67eef1e1814b0397bd45b885b0 Mon Sep 17 00:00:00 2001 From: Anton Kozlov Date: Thu, 31 Aug 2023 14:05:28 +0100 Subject: [PATCH] Update src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp Co-authored-by: pufit --- src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp b/src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp index e6134d8b239..20da35bee4e 100644 --- a/src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp +++ b/src/Storages/MergeTree/MergeTreeIndexAggregatorBloomFilter.cpp @@ -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(index_column.get()); + const auto & index_col = checkAndGetColumn(index_column.get()); const auto & index_data = index_col->getData(); for (const auto &hash: index_data) column_hashes[column].insert(hash);