From 75f30754058b77263842ed05b2b5f0f0d18bbbcc Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 28 Dec 2019 08:16:02 +0300 Subject: [PATCH] Updated exception message --- dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp b/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp index ebaa146dbd..2bf00676d7 100644 --- a/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp +++ b/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp @@ -109,7 +109,7 @@ void registerAggregateFunctionAggThrow(AggregateFunctionFactory & factory) if (parameters.size() == 1) throw_probability = parameters[0].safeGet(); else if (parameters.size() > 1) - throw Exception("Aggregate function " + name + " cannot have parameters", ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH); + throw Exception("Aggregate function " + name + " cannot have more than one parameter", ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH); return std::make_shared(argument_types, parameters, throw_probability); }); -- GitLab