Update src/Storages/MergeTree/MergeTreeIndexBloomFilter.cpp

Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
This commit is contained in:
Alexey Milovidov 2024-05-17 11:19:10 +02:00 committed by GitHub
parent 26501178e6
commit 7b81f3142a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -781,8 +781,8 @@ bool MergeTreeIndexConditionBloomFilter::traverseTreeEquals(
if (key_node_function_name == "arrayElement" && (function_name == "equals" || function_name == "notEquals"))
{
/** Try to parse arrayElement for mapKeys index.
* It is important to ignore keys like column_map['Key'] = '' because if key does not exist in map
* we return default value for arrayElement.
* It is important to ignore keys like column_map['Key'] = '' because if key does not exist in the map
* we return default the value for arrayElement.
*
* We cannot skip keys that does not exist in map if comparison is with default type value because
* that way we skip necessary granules where map key does not exist.