From 1b3fc319041cfe6ee5b3c440e58b932b30333902 Mon Sep 17 00:00:00 2001 From: hexiaoting Date: Fri, 16 Jul 2021 10:35:34 +0800 Subject: [PATCH] fix error --- src/AggregateFunctions/AggregateFunctionNothing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AggregateFunctions/AggregateFunctionNothing.cpp b/src/AggregateFunctions/AggregateFunctionNothing.cpp index 32bc105bba8..d1c25026929 100644 --- a/src/AggregateFunctions/AggregateFunctionNothing.cpp +++ b/src/AggregateFunctions/AggregateFunctionNothing.cpp @@ -13,7 +13,7 @@ struct Settings; AggregateFunctionPtr createAggregateFunctionNothing(const std::string & name, const DataTypes & argument_types, const Array & parameters, const Settings *) { assertNoParameters(name, parameters); - assertArityAtMost<1>(name, argument_types); + assertUnary(name, argument_types); return std::make_shared(argument_types, parameters); }