Analyzer: Fix exception message

This commit is contained in:
Dmitry Novik 2024-04-18 13:02:55 +02:00 committed by GitHub
parent 7022adefb0
commit 69cc3c9e8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5174,8 +5174,8 @@ ProjectionNames QueryAnalyzer::resolveLambda(const QueryTreeNodePtr & lambda_nod
throw Exception(ErrorCodes::BAD_ARGUMENTS,
"Lambda {} expect {} arguments. Actual {}. In scope {}",
lambda_to_resolve.formatASTForErrorMessage(),
arguments_size,
lambda_arguments_nodes_size,
arguments_size,
scope.scope_node->formatASTForErrorMessage());
/// Initialize aliases in lambda scope