mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
dbms: fixed error with GROUP BY expression with IN operators [#METR-12383].
This commit is contained in:
parent
d61d5e6784
commit
b16c083de5
@ -1028,7 +1028,6 @@ void ExpressionAnalyzer::getActionsImpl(ASTPtr ast, bool no_subqueries, bool onl
|
|||||||
ColumnWithNameAndType fake_column;
|
ColumnWithNameAndType fake_column;
|
||||||
fake_column.name = node->getColumnName();
|
fake_column.name = node->getColumnName();
|
||||||
fake_column.type = new DataTypeUInt8;
|
fake_column.type = new DataTypeUInt8;
|
||||||
fake_column.column = new ColumnConstUInt8(1, 0);
|
|
||||||
actions_stack.addAction(ExpressionAction::addColumn(fake_column));
|
actions_stack.addAction(ExpressionAction::addColumn(fake_column));
|
||||||
getActionsImpl(node->arguments->children.at(0), no_subqueries, only_consts, actions_stack);
|
getActionsImpl(node->arguments->children.at(0), no_subqueries, only_consts, actions_stack);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user