Merge pull request #62755 from ClickHouse/analyzer-fix-exception-message

Analyzer: Fix exception message
This commit is contained in:
Dmitry Novik 2024-04-19 11:55:00 +00:00 committed by GitHub
commit 49b94161b9
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