Small fix

This commit is contained in:
Dmitry Novik 2024-01-24 16:09:26 +01:00 committed by GitHub
parent 7a95eb8bd1
commit 7826706ff9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -360,8 +360,7 @@ QueryTreeNodes extractAllTableReferences(const QueryTreeNodePtr & tree)
}
case QueryTreeNodeType::TABLE_FUNCTION:
{
for (const auto & argument_node : node_to_process->as<TableFunctionNode>()->getArgumentsNode()->getChildren())
nodes_to_process.push_back(argument_node);
// Arguments of table function can't contain TableNodes.
break;
}
case QueryTreeNodeType::ARRAY_JOIN: