mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
dbms: added tests; fixed error in prev. revision [#METR-17472].
This commit is contained in:
parent
80ce5f1f65
commit
35b55b7e4f
@ -603,7 +603,7 @@ void ExpressionAnalyzer::executeScalarSubqueriesImpl(ASTPtr & ast)
|
|||||||
tuple->name = "tuple";
|
tuple->name = "tuple";
|
||||||
ASTExpressionList * exp_list = new ASTExpressionList(ast->range);
|
ASTExpressionList * exp_list = new ASTExpressionList(ast->range);
|
||||||
tuple->arguments = exp_list;
|
tuple->arguments = exp_list;
|
||||||
tuple->children.push_back(exp_list);
|
tuple->children.push_back(tuple->arguments);
|
||||||
|
|
||||||
exp_list->children.resize(columns);
|
exp_list->children.resize(columns);
|
||||||
for (size_t i = 0; i < columns; ++i)
|
for (size_t i = 0; i < columns; ++i)
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
1 1
|
@ -0,0 +1 @@
|
|||||||
|
SELECT (SELECT (SELECT (SELECT (SELECT (SELECT count() FROM (SELECT * FROM system.numbers LIMIT 10)))))) = (SELECT 10), ((SELECT 1, 'Hello', [1, 2]).3)[1];
|
Loading…
Reference in New Issue
Block a user