This commit is contained in:
Dmitry Novik 2024-02-09 11:45:15 +01:00 committed by GitHub
parent 5f75087178
commit 8655c11280
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -786,7 +786,7 @@ QueryTreeNodePtr replaceTableExpressionAndRemoveJoin(
projection.clear(); projection.clear();
NamesAndTypes projection_columns; NamesAndTypes projection_columns;
// Select only required columns from the table, because prjection list may contain: // Select only required columns from the table, because projection list may contain:
// 1. aggregate functions // 1. aggregate functions
// 2. expressions referencing other tables of JOIN // 2. expressions referencing other tables of JOIN
for (auto const & column_name : required_column_names) for (auto const & column_name : required_column_names)