Merge branch 'master' of github.com:filipecaixeta/ClickHouse into filipecaixeta-master

This commit is contained in:
Alexey Milovidov 2020-10-13 23:45:43 +03:00
commit dbd4366aa4

View File

@ -47,7 +47,7 @@ public:
DataTypePtr getReturnTypeImpl(const DataTypes & arguments) const override
{
if (arguments.size() < 1)
if (arguments.empty())
throw Exception(
"Number of arguments for function " + getName() + " doesn't match: passed " + toString(arguments.size())
+ ", should be at least 1.",