diff --git a/src/Storages/MergeTree/CommonANNIndexes.cpp b/src/Storages/MergeTree/CommonANNIndexes.cpp index 89c04058177..d6518676d5b 100644 --- a/src/Storages/MergeTree/CommonANNIndexes.cpp +++ b/src/Storages/MergeTree/CommonANNIndexes.cpp @@ -192,7 +192,7 @@ bool ANNCondition::traverseAtomAST(const ASTPtr & node, RPNElement & out) return true; } - // Match identifier + // Match identifier else if (const auto * identifier = node->as()) { out.function = RPNElement::FUNCTION_IDENTIFIER; @@ -202,7 +202,7 @@ bool ANNCondition::traverseAtomAST(const ASTPtr & node, RPNElement & out) return true; } - // Check if we have constants behind the node + // Check if we have constants behind the node return tryCastToConstType(node, out); } @@ -213,7 +213,7 @@ bool ANNCondition::tryCastToConstType(const ASTPtr & node, RPNElement & out) if (KeyCondition::getConstant(node, block_with_constants, const_value, const_type)) { - /// Check for constant types + /// Check for constant types if (const_value.getType() == Field::Types::Float64) { out.function = RPNElement::FUNCTION_FLOAT_LITERAL; diff --git a/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp b/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp index cd7ae7e099f..4bac7af2f2a 100644 --- a/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp +++ b/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp @@ -87,7 +87,7 @@ MergeTreeIndexGranuleAnnoy::MergeTreeIndexGranuleAnnoy(const String & index_name {} MergeTreeIndexGranuleAnnoy::MergeTreeIndexGranuleAnnoy( - const String & index_name_, + const String & index_name_, const Block & index_sample_block_, AnnoyIndexPtr index_base_) : index_name(index_name_)