fix error

This commit is contained in:
hexiaoting 2021-07-16 10:35:34 +08:00 committed by Nikita Mikhaylov
parent 2c7eeea55c
commit 1b3fc31904

View File

@ -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<AggregateFunctionNothing>(argument_types, parameters);
}