Fix style check

This commit is contained in:
Dmitry Novik 2023-01-11 19:54:12 +00:00
parent 7112d4ec83
commit 98427319e0

View File

@ -76,7 +76,8 @@ class ValidationChecker : public InDepthQueryTreeVisitor<ValidationChecker>
for (size_t i = 0; i < expected_arg_types.size(); ++i)
{
// Skip lambdas
if(WhichDataType(expected_arg_types[i]).isFunction())
WhichDataType which_type(expected_arg_types[i]);
if(which_type.isFunction())
continue;
if (!expected_arg_types[i]->equals(*actual_arg_columns[i].type))
throw Exception(ErrorCodes::LOGICAL_ERROR,