mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
fix style
This commit is contained in:
parent
8f8c622e7c
commit
316858ee39
@ -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;
|
||||
|
@ -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_)
|
||||
|
Loading…
Reference in New Issue
Block a user