mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
fix
This commit is contained in:
parent
4bf0ac886b
commit
8152bc40d5
@ -123,7 +123,7 @@ public:
|
|||||||
list.children.push_back(index);
|
list.children.push_back(index);
|
||||||
|
|
||||||
if (!list.children.empty())
|
if (!list.children.empty())
|
||||||
list.formatImpl(s, state, frame;
|
list.formatImpl(s, state, frame);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -94,7 +94,6 @@ bool ParserColumnDeclarationList::parseImpl(Pos & pos, ASTPtr & node, Expected &
|
|||||||
|
|
||||||
bool ParserIndexDeclaration::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
bool ParserIndexDeclaration::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||||
{
|
{
|
||||||
ParserKeyword s_by("BY");
|
|
||||||
ParserKeyword s_type("TYPE");
|
ParserKeyword s_type("TYPE");
|
||||||
ParserKeyword s_granularity("GRANULARITY");
|
ParserKeyword s_granularity("GRANULARITY");
|
||||||
|
|
||||||
@ -111,9 +110,6 @@ bool ParserIndexDeclaration::parseImpl(Pos & pos, ASTPtr & node, Expected & expe
|
|||||||
if (!name_p.parse(pos, name, expected))
|
if (!name_p.parse(pos, name, expected))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!s_by.ignore(pos, expected))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (!expression_p.parse(pos, expr, expected))
|
if (!expression_p.parse(pos, expr, expected))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user