Merge pull request #64449 from ClickHouse/follow-up-64226

Add a comment after #64226
This commit is contained in:
Nikolai Kochetov 2024-05-28 08:39:09 +00:00 committed by GitHub
commit fed6523c21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3916,6 +3916,7 @@ QueryTreeNodePtr QueryAnalyzer::tryResolveIdentifierFromArrayJoin(const Identifi
return array_join_column;
}
/// Resolve subcolumns. Example : SELECT x.y.z FROM tab ARRAY JOIN arr AS x
auto compound_expr = tryResolveIdentifierFromCompoundExpression(
identifier_lookup.identifier,
identifier_lookup.identifier.getPartsSize() - identifier_view.getPartsSize() /*identifier_bind_size*/,