Analyzer ARRAY JOIN disable alias validation for subquery or table function

This commit is contained in:
Maksim Kita 2023-01-24 10:02:57 +01:00
parent b9cb067153
commit 480619af63

View File

@ -5619,7 +5619,6 @@ void QueryAnalyzer::resolveQueryJoinTreeNode(QueryTreeNodePtr & join_tree_node,
{ {
auto & array_join_node = join_tree_node->as<ArrayJoinNode &>(); auto & array_join_node = join_tree_node->as<ArrayJoinNode &>();
resolveQueryJoinTreeNode(array_join_node.getTableExpression(), scope, expressions_visitor); resolveQueryJoinTreeNode(array_join_node.getTableExpression(), scope, expressions_visitor);
validateJoinTableExpressionWithoutAlias(join_tree_node, array_join_node.getTableExpression(), scope);
std::unordered_set<String> array_join_column_names; std::unordered_set<String> array_join_column_names;