mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
dbms: fixed error [#METR-10945].
This commit is contained in:
parent
9e1410931e
commit
2326d31f62
@ -368,6 +368,20 @@ bool ParserCreateQuery::parseImpl(Pos & pos, Pos end, ASTPtr & node, const char
|
|||||||
ws.ignore(pos, end);
|
ws.ignore(pos, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Опционально - может быть указан список столбцов. Он должен полностью соответствовать SELECT-у.
|
||||||
|
if (s_lparen.ignore(pos, end, expected))
|
||||||
|
{
|
||||||
|
ws.ignore(pos, end);
|
||||||
|
|
||||||
|
if (!columns_p.parse(pos, end, columns, expected))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
ws.ignore(pos, end);
|
||||||
|
|
||||||
|
if (!s_rparen.ignore(pos, end, expected))
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/// Опционально - может быть указана внутренняя ENGINE для MATERIALIZED VIEW
|
/// Опционально - может быть указана внутренняя ENGINE для MATERIALIZED VIEW
|
||||||
engine_p.parse(pos, end, inner_storage, expected);
|
engine_p.parse(pos, end, inner_storage, expected);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user