This commit is contained in:
Raúl Marín 2024-11-05 20:50:05 +01:00
parent 996773b205
commit d7da086a2e

View File

@ -67,7 +67,7 @@ bool ExecuteScalarSubqueriesMatcher::needChildVisit(ASTPtr & node, const ASTPtr
return false; return false;
} }
if (auto tables = node->as<ASTTablesInSelectQueryElement>()) if (auto * tables = node->as<ASTTablesInSelectQueryElement>())
{ {
/// Contrary to what's said in the code block above, ARRAY JOIN needs to resolve the subquery if possible /// Contrary to what's said in the code block above, ARRAY JOIN needs to resolve the subquery if possible
/// and assign an alias for 02367_optimize_trivial_count_with_array_join to pass. Otherwise it will fail in /// and assign an alias for 02367_optimize_trivial_count_with_array_join to pass. Otherwise it will fail in