FIXUP: check in FunctionArrayMapped refactor

This commit is contained in:
Joanna Hulboj 2023-02-12 10:58:59 +00:00
parent 0900fd6832
commit 221e4942b2

View File

@ -116,7 +116,7 @@ public:
getName(),
arguments.size());
if (arguments.size() < 1 + num_fixed_params)
if (arguments.size() <= 1 + num_fixed_params)
throw Exception(
ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH,
"Function {} needs at least {} argument{} with data",