Fix exception message

This commit is contained in:
Alexey Milovidov 2020-11-23 05:44:42 +03:00
parent 9ed0c3c85a
commit 1a073f700f

View File

@ -80,7 +80,7 @@ public:
}
if (!isUnsignedInteger(arguments[1]))
throw Exception("Second argument of aggregate function " + getName() + " must be integer.", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
throw Exception("Second argument of aggregate function " + getName() + " must be unsigned integer.", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
if (default_value.isNull())
default_value = type->getDefault();