Update src/Analyzer/ValidationUtils.cpp

Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
This commit is contained in:
Vladimir Cherkasov 2024-11-14 16:18:33 +01:00 committed by GitHub
parent fde4eb43d5
commit cf90bfaf79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ void validateFilters(const QueryTreeNodePtr & query_node)
validateFilter(query_node_typed.getQualify(), "QUALIFY", query_node);
}
static bool areColumnSourcesEqual(const QueryTreeNodePtr & lhs, const QueryTreeNodePtr & rhs)
bool areColumnSourcesEqual(const QueryTreeNodePtr & lhs, const QueryTreeNodePtr & rhs)
{
using NodePair = std::pair<const IQueryTreeNode *, const IQueryTreeNode *>;
std::vector<NodePair> nodes_to_process;