fix style

This commit is contained in:
Vladimir Makarov 2022-05-14 08:55:07 +00:00
parent 8f8c622e7c
commit 316858ee39
2 changed files with 4 additions and 4 deletions

View File

@ -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<ASTIdentifier>())
{
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;

View File

@ -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_)