Update FunctionsArray.h

This commit is contained in:
alexey-milovidov 2018-07-23 19:26:40 +03:00
parent ff2fdac25c
commit 1c200589f5

View File

@ -1015,7 +1015,7 @@ public:
if (!(observed_type0->isValueRepresentedByNumber() && observed_type1->isNumber())
&& !observed_type0->equals(*observed_type1))
throw Exception("Types of array and 2nd argument of function "
+ getName() + " must be identical up to nullability. Passed: "
+ getName() + " must be identical up to nullability or numeric types or Enum and numeric type. Passed: "
+ arguments[0]->getName() + " and " + arguments[1]->getName() + ".",
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
}