mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update KeyDescription.cpp
This commit is contained in:
parent
d8bea598b2
commit
523d1059ed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user