mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
dbms: fixed error with ARRAY JOIN [#METR-9753].
This commit is contained in:
parent
91dbb13653
commit
82b98ffb6d
@ -731,8 +731,6 @@ void ExpressionAnalyzer::getActionsImpl(ASTPtr ast, bool no_subqueries, bool onl
|
|||||||
if (found)
|
if (found)
|
||||||
throw Exception("Column " + name + " is not under aggregate function and not in GROUP BY.",
|
throw Exception("Column " + name + " is not under aggregate function and not in GROUP BY.",
|
||||||
ErrorCodes::NOT_AN_AGGREGATE);
|
ErrorCodes::NOT_AN_AGGREGATE);
|
||||||
else
|
|
||||||
throw Exception("Unknown identifier: " + name, ErrorCodes::UNKNOWN_IDENTIFIER);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ASTFunction * node = dynamic_cast<ASTFunction *>(&*ast))
|
else if (ASTFunction * node = dynamic_cast<ASTFunction *>(&*ast))
|
||||||
|
Loading…
Reference in New Issue
Block a user