Update KeyDescription.cpp

This commit is contained in:
alesapin 2022-02-07 13:59:03 +03:00 committed by GitHub
parent d8bea598b2
commit 523d1059ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,7 +171,7 @@ KeyDescription KeyDescription::parse(const String & str, const ColumnsDescriptio
return result;
ParserExpression parser;
ASTPtr ast = parseQuery(parser, "(" + str + ")", 0, DBMS_DEFAULT_MAX_PARSER_DEPTH);
ASTPtr ast = parseQuery(parser, "(" + str + ")", 0, DBMS_DEFAULT_MAX_PARSER_DEPTH);
FunctionNameNormalizer().visit(ast.get());
return getKeyFromAST(ast, columns, context);