Skip to content

Commit 07855ca

Browse files
committed
Fix typo
1 parent 9268fa5 commit 07855ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Storages/IndicesDescription.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ using ReplaceAliasToExprVisitor = InDepthNodeVisitor<ReplaceAliasByExpressionMat
3232

3333
Tuple parseGinIndexArgumentFromAST(const auto & arguments)
3434
{
35-
const auto & idenfitier = arguments->children[0]->template as<ASTIdentifier>();
36-
if (idenfitier == nullptr)
35+
const auto & identifier = arguments->children[0]->template as<ASTIdentifier>();
36+
if (identifier == nullptr)
3737
throw Exception(ErrorCodes::INCORRECT_QUERY, "Expected identifier");
3838

3939
const auto & literal = arguments->children[1]->template as<ASTLiteral>();
4040
if (literal == nullptr)
4141
throw Exception(ErrorCodes::INCORRECT_QUERY, "Expected literal");
4242

4343
Tuple key_value_pair{};
44-
key_value_pair.emplace_back(idenfitier->name());
44+
key_value_pair.emplace_back(identifier->name());
4545
key_value_pair.emplace_back(literal->value);
4646
return key_value_pair;
4747
}

0 commit comments

Comments
 (0)