mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
dbms: fixed error with PREWHERE [#METR-9837].
This commit is contained in:
parent
82b98ffb6d
commit
ab24d20f23
@ -276,6 +276,8 @@ bool ParserSelectQuery::parseImpl(Pos & pos, Pos end, ASTPtr & node, String & ex
|
||||
select_query->children.push_back(select_query->sample_size);
|
||||
if (select_query->where_expression)
|
||||
select_query->children.push_back(select_query->where_expression);
|
||||
if (select_query->prewhere_expression)
|
||||
select_query->children.push_back(select_query->prewhere_expression);
|
||||
if (select_query->group_expression_list)
|
||||
select_query->children.push_back(select_query->group_expression_list);
|
||||
if (select_query->having_expression)
|
||||
|
Loading…
Reference in New Issue
Block a user