dbms: fixed error with ARRAY JOIN [#METR-9753].

This commit is contained in:
Alexey Milovidov 2014-01-29 19:00:19 +00:00
parent 91dbb13653
commit 82b98ffb6d

View File

@ -731,8 +731,6 @@ void ExpressionAnalyzer::getActionsImpl(ASTPtr ast, bool no_subqueries, bool onl
if (found)
throw Exception("Column " + name + " is not under aggregate function and not in GROUP BY.",
ErrorCodes::NOT_AN_AGGREGATE);
else
throw Exception("Unknown identifier: " + name, ErrorCodes::UNKNOWN_IDENTIFIER);
}
}
else if (ASTFunction * node = dynamic_cast<ASTFunction *>(&*ast))